mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
rename 'mode' config value to 'view'
This commit is contained in:
parent
0861b07618
commit
f0950ba9ae
8 changed files with 19 additions and 19 deletions
|
|
@ -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' );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue