Fixed wrong equality check

`===` changed to `!==` I should take a break.
This commit is contained in:
Kevin Ramharak
2018-01-03 06:04:50 +01:00
committed by GitHub
parent dae48c0ded
commit dac61bf051

View File

@@ -421,7 +421,7 @@ var lazySave = (function() {
// This will prevent unnececary saving on every change
return function(event) {
// if another timeout was waiting clear that one
if(timeout === null) {
if(timeout !== null) {
clearTimeout(timeout);
}
// and set a new one