Fix the bug with Settings.fixSiteSettings()
This commit is contained in:
parent
aba099d577
commit
1c978e61b7
@ -290,16 +290,16 @@ class Settings {
|
|||||||
sites[site].mode = ExtensionMode.Default;
|
sites[site].mode = ExtensionMode.Default;
|
||||||
}
|
}
|
||||||
if (sites[site].autoar === undefined) {
|
if (sites[site].autoar === undefined) {
|
||||||
sites[site].mode = ExtensionMode.Default;
|
sites[site].autoar = ExtensionMode.Default;
|
||||||
}
|
}
|
||||||
if (sites[site].stretch === undefined) {
|
if (sites[site].stretch === undefined) {
|
||||||
sites[site].mode = Stretch.Default;
|
sites[site].stretch = Stretch.Default;
|
||||||
}
|
}
|
||||||
if (sites[site].videoAlignment === undefined) {
|
if (sites[site].videoAlignment === undefined) {
|
||||||
sites[site].mode = VideoAlignment.Default;
|
sites[site].videoAlignment = VideoAlignment.Default;
|
||||||
}
|
}
|
||||||
if (sites[site].keyboardShortcutsEnabled === undefined) {
|
if (sites[site].keyboardShortcutsEnabled === undefined) {
|
||||||
sites[site].mode = ExtensionMode.Default;
|
sites[site].keyboardShortcutsEnabled = ExtensionMode.Default;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user