From ebdfd2e4bef83f32633e20187fb3e2c58fc7c7a1 Mon Sep 17 00:00:00 2001 From: Andrew Luca Date: Sat, 19 Aug 2017 23:11:15 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20Change=20useBlur=20setting=20to=20l?= =?UTF-8?q?ightVersion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.html | 2 +- src/script.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/index.html b/src/index.html index e8235b9..dc87533 100644 --- a/src/index.html +++ b/src/index.html @@ -456,7 +456,7 @@ Replace new tab page


diff --git a/src/script.js b/src/script.js index 1e614ee..81c9636 100644 --- a/src/script.js +++ b/src/script.js @@ -1588,9 +1588,9 @@ customEditorFontInput $('[data-setting=editorCustomFont]').value = prefs.editorCustomFont; $('[data-setting=autoSave]').checked = prefs.autoSave; $('[data-setting=autoComplete]').checked = prefs.autoComplete; - $('[data-setting=useBlur]').checked = prefs.useBlur; + $('[data-setting=lightVersion]').checked = prefs.lightVersion; - if (prefs.useBlur) { + if (!prefs.lightVersion) { document.body.classList.add('blur'); } } @@ -2160,7 +2160,7 @@ customEditorFontInput editorCustomFont: '', autoSave: true, autoComplete: true, - useBlur: true + lightVersion: true }, function syncGetCallback(result) { if (result.preserveLastCode && lastCode) { @@ -2196,7 +2196,7 @@ customEditorFontInput prefs.editorCustomFont = result.editorCustomFont; prefs.autoSave = result.autoSave; prefs.autoComplete = result.autoComplete; - prefs.useBlur = result.useBlur; + prefs.lightVersion = result.lightVersion; updateSettingsInUi(); scope.updateSetting();