From 1c978e61b74c40ce5782732c8175aba118366ee7 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sun, 1 Mar 2020 21:52:36 +0100 Subject: [PATCH] Fix the bug with Settings.fixSiteSettings() --- src/ext/lib/Settings.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ext/lib/Settings.js b/src/ext/lib/Settings.js index 5929b2c..1fbf66f 100644 --- a/src/ext/lib/Settings.js +++ b/src/ext/lib/Settings.js @@ -290,16 +290,16 @@ class Settings { sites[site].mode = ExtensionMode.Default; } if (sites[site].autoar === undefined) { - sites[site].mode = ExtensionMode.Default; + sites[site].autoar = ExtensionMode.Default; } if (sites[site].stretch === undefined) { - sites[site].mode = Stretch.Default; + sites[site].stretch = Stretch.Default; } if (sites[site].videoAlignment === undefined) { - sites[site].mode = VideoAlignment.Default; + sites[site].videoAlignment = VideoAlignment.Default; } if (sites[site].keyboardShortcutsEnabled === undefined) { - sites[site].mode = ExtensionMode.Default; + sites[site].keyboardShortcutsEnabled = ExtensionMode.Default; } } }