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
|
|
@ -230,12 +230,7 @@ export default class Print {
|
|||
*/
|
||||
isActive() {
|
||||
|
||||
if( typeof this._isPrintMode === 'undefined' ) {
|
||||
this._isPrintMode = this.Reveal.getConfig().mode === 'pdf' ||
|
||||
( /print-pdf/gi ).test( window.location.search );
|
||||
}
|
||||
|
||||
return this._isPrintMode;
|
||||
return this.Reveal.getConfig().view === 'print';
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue