mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-07-30 03:10:37 +02:00
fix exception when navigating decks on mobile browsers #3539
This commit is contained in:
@@ -801,8 +801,8 @@ export default class ScrollView {
|
||||
if( page.active ) {
|
||||
|
||||
page.active = false;
|
||||
page.slideElement.classList.remove( 'present' );
|
||||
page.backgroundElement.classList.remove( 'present' );
|
||||
if( page.slideElement ) page.slideElement.classList.remove( 'present' );
|
||||
if( page.backgroundElement ) page.backgroundElement.classList.remove( 'present' );
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user