@@ -19,7 +19,7 @@ export class DeckdeckgoSlideUtils {
1919 return ;
2020 }
2121
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' ) ;
2323
2424 if ( ! elements ) {
2525 resolve ( ) ;
@@ -34,7 +34,7 @@ export class DeckdeckgoSlideUtils {
3434
3535 private static showRevealElement ( el : HTMLElement ) : Promise < boolean > {
3636 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' ) ;
3838
3939 let couldSwipe : boolean = true ;
4040
@@ -55,7 +55,7 @@ export class DeckdeckgoSlideUtils {
5555
5656 private static hideRevealElement ( el : HTMLElement ) : Promise < boolean > {
5757 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' ) ;
5959
6060 let couldSwipe : boolean = true ;
6161
0 commit comments