Skip to content

Commit

Permalink
Merge pull request #8 from hipstersmoothie/patch-1
Browse files Browse the repository at this point in the history
setOption persistence fix
  • Loading branch information
NickPiscitelli authored Nov 16, 2018
2 parents 56606bb + a391ea0 commit ff80542
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion glider.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@

gliderPrototype.setOption = function(opt){
this.opt = Object.assign({}, this.opt, opt)
this._opt = Object.assign({}, this._opt, opt);
}

gliderPrototype.destroy = function(){
Expand Down Expand Up @@ -411,4 +412,4 @@
eventHandler(k, args[k]);
});
}
}));
}));

0 comments on commit ff80542

Please sign in to comment.