1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-04 21:57:59 +02:00

rename 'mode' config value to 'view'

This commit is contained in:
Hakim El Hattab
2023-09-20 16:11:31 +02:00
parent 0861b07618
commit f0950ba9ae
8 changed files with 19 additions and 19 deletions

View File

@@ -41,7 +41,7 @@ export default class Notes {
if( this.Reveal.getConfig().showNotes &&
this.element && this.Reveal.getCurrentSlide() &&
!this.Reveal.isReaderMode() &&
!this.Reveal.isPrintMode()
!this.Reveal.isPrinting()
) {
this.element.innerHTML = this.getSlideNotes() || '<span class="notes-placeholder">No notes on this slide.</span>';
}
@@ -59,7 +59,7 @@ export default class Notes {
if( this.Reveal.getConfig().showNotes &&
this.hasNotes() &&
!this.Reveal.isReaderMode() &&
!this.Reveal.isPrintMode()
!this.Reveal.isPrinting()
) {
this.Reveal.getRevealElement().classList.add( 'show-notes' );
}