mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-17 18:37:00 +02:00
Normalising var
This commit is contained in:
@@ -86,7 +86,7 @@ export default class WebSlides {
|
|||||||
*/
|
*/
|
||||||
this.autoslide_ = autoslide;
|
this.autoslide_ = autoslide;
|
||||||
/**
|
/**
|
||||||
* Whether navigation should initiate on click
|
* Whether navigation should initiate on click or not.
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
|
@@ -19,7 +19,7 @@ export default class ClickNav {
|
|||||||
*/
|
*/
|
||||||
this.ws_ = wsInstance;
|
this.ws_ = wsInstance;
|
||||||
|
|
||||||
if (wsInstance.changeOnClick) {
|
if (wsInstance.changeOnClick_) {
|
||||||
this.ws_.el.addEventListener('click', this.onClick_.bind(this));
|
this.ws_.el.addEventListener('click', this.onClick_.bind(this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user