@@ -19,7 +19,7 @@ export class DeckdeckgoSlideUtils {
19
19
return ;
20
20
}
21
21
22
- const elements : NodeListOf < HTMLElement > = el . querySelectorAll ( revealShowFirst ? '[slot] > li:not(:first-child), [slot] > p:not(:first-child), [slot] > span:not(:first-child), [slot] > img:not(:first-child)' : '[slot] > li, [slot] > p, [slot] > span, [slot] > img' ) ;
22
+ const elements : NodeListOf < HTMLElement > = el . querySelectorAll ( revealShowFirst ? '[slot] li:not(:first-child), [slot] > p:not(:first-child), [slot] > span:not(:first-child), [slot] > img:not(:first-child)' : '[slot] li, [slot] > p, [slot] > span, [slot] > img' ) ;
23
23
24
24
if ( ! elements ) {
25
25
resolve ( ) ;
@@ -34,7 +34,7 @@ export class DeckdeckgoSlideUtils {
34
34
35
35
private static showRevealElement ( el : HTMLElement ) : Promise < boolean > {
36
36
return new Promise < boolean > ( ( resolve ) => {
37
- const elements : NodeListOf < HTMLElement > = el . querySelectorAll ( '[slot] > li, [slot] > p, [slot] > span, [slot] > img' ) ;
37
+ const elements : NodeListOf < HTMLElement > = el . querySelectorAll ( '[slot] li, [slot] > p, [slot] > span, [slot] > img' ) ;
38
38
39
39
let couldSwipe : boolean = true ;
40
40
@@ -55,7 +55,7 @@ export class DeckdeckgoSlideUtils {
55
55
56
56
private static hideRevealElement ( el : HTMLElement ) : Promise < boolean > {
57
57
return new Promise < boolean > ( ( resolve ) => {
58
- const elements : NodeListOf < HTMLElement > = el . querySelectorAll ( '[slot] > li, [slot] > p, [slot] > span, [slot] > img' ) ;
58
+ const elements : NodeListOf < HTMLElement > = el . querySelectorAll ( '[slot] li, [slot] > p, [slot] > span, [slot] > img' ) ;
59
59
60
60
let couldSwipe : boolean = true ;
61
61
0 commit comments