@@ -8,7 +8,7 @@ export class DeckDeckGoSlideUtils {
88
99 static hideElements ( el : HTMLElement , revealShowFirst : boolean ) : Promise < void > {
1010 return new Promise < void > ( ( resolve ) => {
11- const elements : NodeListOf < HTMLElement > = el . querySelectorAll ( revealShowFirst ? '[slot] > li:not(:first-child), [slot] > p:not(:first-child), [slot] > img:not(:first-child)' : '[slot] > li, [slot] > p, [slot] > img' ) ;
11+ 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' ) ;
1212
1313 if ( ! elements ) {
1414 resolve ( ) ;
@@ -22,7 +22,7 @@ export class DeckDeckGoSlideUtils {
2222
2323 private static showElement ( el : HTMLElement ) : Promise < boolean > {
2424 return new Promise < boolean > ( ( resolve ) => {
25- const elements : NodeListOf < HTMLElement > = el . querySelectorAll ( '[slot] > li, [slot] > p, [slot] > img' ) ;
25+ const elements : NodeListOf < HTMLElement > = el . querySelectorAll ( '[slot] > li, [slot] > p, [slot] > span, [slot] > img' ) ;
2626
2727 let couldSwipe : boolean = true ;
2828
@@ -43,7 +43,7 @@ export class DeckDeckGoSlideUtils {
4343
4444 private static hideElement ( el : HTMLElement ) : Promise < boolean > {
4545 return new Promise < boolean > ( ( resolve ) => {
46- const elements : NodeListOf < HTMLElement > = el . querySelectorAll ( '[slot] > li, [slot] > p, [slot] > img' ) ;
46+ const elements : NodeListOf < HTMLElement > = el . querySelectorAll ( '[slot] > li, [slot] > p, [slot] > span, [slot] > img' ) ;
4747
4848 let couldSwipe : boolean = true ;
4949
0 commit comments