mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-04-19 10:36:42 +00:00
Fixed wrong equality check
`===` changed to `!==` I should take a break.
This commit is contained in:
parent
dae48c0ded
commit
dac61bf051
@ -421,7 +421,7 @@ var lazySave = (function() {
|
|||||||
// This will prevent unnececary saving on every change
|
// This will prevent unnececary saving on every change
|
||||||
return function(event) {
|
return function(event) {
|
||||||
// if another timeout was waiting clear that one
|
// if another timeout was waiting clear that one
|
||||||
if(timeout === null) {
|
if(timeout !== null) {
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
}
|
}
|
||||||
// and set a new one
|
// and set a new one
|
||||||
|
Loading…
x
Reference in New Issue
Block a user