aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/options.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-10 16:49:40 -0500
committerGitHub <noreply@github.com>2021-01-10 16:49:40 -0500
commit25080ac82eef83fdaa921e2a8b12261130b8ac85 (patch)
tree6afa261d0693589462657f65e62ace8a99a5cbba /ext/bg/js/options.js
parent7f07b905abc42c10b8b71a06a60561bc169e851a (diff)
Change popupActionBarLocation to top (#1222)
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r--ext/bg/js/options.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index 6c335346..86f76698 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -686,6 +686,7 @@ class OptionsUtil {
// Moved anki.sentenceExt to sentenceParsing.scanExtent.
// Added sentenceParsing.enableTerminationCharacters.
// Added sentenceParsing.terminationCharacters.
+ // Changed general.popupActionBarLocation.
for (const profile of options.profiles) {
profile.options.translation.textReplacements = {
searchOriginal: true,
@@ -710,6 +711,7 @@ class OptionsUtil {
]
};
delete profile.options.anki.sentenceExt;
+ profile.options.general.popupActionBarLocation = 'top';
}
return options;
}