Browse Source

fix selector constant

Anas Bouzid 1 year ago
parent
commit
ec4eeab478
6 changed files with 2 additions and 2 deletions
  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/controllers/scrollview.js
  6. 1 1
      js/utils/constants.js

File diff suppressed because it is too large
+ 0 - 0
dist/reveal.esm.js


File diff suppressed because it is too large
+ 0 - 0
dist/reveal.esm.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/reveal.js


File diff suppressed because it is too large
+ 0 - 0
dist/reveal.js.map


+ 1 - 1
js/controllers/scrollview.js

@@ -77,7 +77,7 @@ export default class ScrollView {
 				page.className = 'scroll-page';
 				pageElements.push( page );
 
-				// Copy the presentation-wide background to each page
+				// If 
 				if( slideBackgrounds && slideBackgrounds.length > h ) {
 					const slideBackground = slideBackgrounds[h];
 					const pageBackground = window.getComputedStyle( slideBackground );

+ 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 = '.backgrounds>.slide-background';
 
 // Methods that may not be invoked via the postMessage API
 export const POST_MESSAGE_METHOD_BLACKLIST = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview/;

Some files were not shown because too many files changed in this diff