1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-16 10:04:45 +02:00

Normalising var

This commit is contained in:
Antonio Laguna
2017-02-27 20:14:35 +01:00
parent b04f15f696
commit e50193ebb1
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ export default class WebSlides {
*/
this.autoslide_ = autoslide;
/**
* Whether navigation should initiate on click
* Whether navigation should initiate on click or not.
* @type {boolean}
* @private
*/

View File

@@ -19,7 +19,7 @@ export default class ClickNav {
*/
this.ws_ = wsInstance;
if (wsInstance.changeOnClick) {
if (wsInstance.changeOnClick_) {
this.ws_.el.addEventListener('click', this.onClick_.bind(this));
}
}