1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-07-29 19:00:21 +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

View File

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