From afa22b83092449c975416a0a3d3a90a269902f4c Mon Sep 17 00:00:00 2001 From: Kushagra Gour Date: Mon, 1 May 2017 01:15:29 +0530 Subject: [PATCH] docs --- src/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/script.js b/src/script.js index be7ac74..66b72b3 100644 --- a/src/script.js +++ b/src/script.js @@ -912,6 +912,8 @@ runBtn, searchInput // This is done so that multiple simultaneous setValue don't trigger too many preview refreshes // and in turn too many file writes on a single file (eg. preview.html). if (change.origin !== 'setValue') { + // Specifically checking for false so that the condition doesn't get true even + // on absent key - possible when the setting key hasn't been fetched yet. if (prefs.autoPreview !== false) { scope.setPreviewContent(); }