Ver Fonte

fix selector constant

Anas Bouzid há 1 ano atrás
pai
commit
608e0eefcd
5 ficheiros alterados com 1 adições e 1 exclusões
  1. 0 0
      dist/reveal.esm.js
  2. 0 0
      dist/reveal.esm.js.map
  3. 0 0
      dist/reveal.js
  4. 0 0
      dist/reveal.js.map
  5. 1 1
      js/utils/constants.js

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/reveal.esm.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/reveal.esm.js.map


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/reveal.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/reveal.js.map


+ 1 - 1
js/utils/constants.js

@@ -2,7 +2,7 @@
 export const SLIDES_SELECTOR = '.slides section';
 export const HORIZONTAL_SLIDES_SELECTOR = '.slides>section';
 export const VERTICAL_SLIDES_SELECTOR = '.slides>section.present>section';
-export const SLIDES_BACKGROUNDS_SELECTOR = '.slides>.backgrounds>.slide-background';
+export const SLIDES_BACKGROUNDS_SELECTOR = '.slides~.backgrounds>.slide-background';
 
 // Methods that may not be invoked via the postMessage API
 export const POST_MESSAGE_METHOD_BLACKLIST = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview/;

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff