1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-07-30 03:10:37 +02:00

fix selector constant

This commit is contained in:
Anas Bouzid
2024-02-04 21:59:46 -06:00
parent 4e353b207d
commit ec4eeab478
6 changed files with 6 additions and 6 deletions

2
dist/reveal.esm.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/reveal.js vendored

File diff suppressed because one or more lines are too long

2
dist/reveal.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -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 );

View File

@@ -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/;