From dac61bf051adb47999cecf1cb78adb54c53af22b Mon Sep 17 00:00:00 2001 From: Kevin Ramharak Date: Wed, 3 Jan 2018 06:04:50 +0100 Subject: [PATCH] Fixed wrong equality check `===` changed to `!==` I should take a break. --- mar/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mar/editor.js b/mar/editor.js index 2011927..2ef473b 100644 --- a/mar/editor.js +++ b/mar/editor.js @@ -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