Przeglądaj źródła

fix selector constant

Anas Bouzid 1 rok temu
rodzic
commit
ec4eeab478

Plik diff jest za duży
+ 0 - 0
dist/reveal.esm.js


Plik diff jest za duży
+ 0 - 0
dist/reveal.esm.js.map


Plik diff jest za duży
+ 0 - 0
dist/reveal.js


Plik diff jest za duży
+ 0 - 0
dist/reveal.js.map


+ 1 - 1
js/controllers/scrollview.js

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

+ 1 - 1
js/utils/constants.js

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

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików