aboutsummaryrefslogtreecommitdiff
path: root/ext/js/data/options-util.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/data/options-util.js')
-rw-r--r--ext/js/data/options-util.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/ext/js/data/options-util.js b/ext/js/data/options-util.js
index 42d8a93a..30ffadb1 100644
--- a/ext/js/data/options-util.js
+++ b/ext/js/data/options-util.js
@@ -462,7 +462,8 @@ class OptionsUtil {
{async: true, update: this._updateVersion10.bind(this)},
{async: false, update: this._updateVersion11.bind(this)},
{async: true, update: this._updateVersion12.bind(this)},
- {async: true, update: this._updateVersion13.bind(this)}
+ {async: true, update: this._updateVersion13.bind(this)},
+ {async: false, update: this._updateVersion14.bind(this)}
];
if (typeof targetVersion === 'number' && targetVersion < result.length) {
result.splice(targetVersion);
@@ -864,4 +865,15 @@ class OptionsUtil {
}
return options;
}
+
+ _updateVersion14(options) {
+ // Version 14 changes:
+ // Added accessibility options.
+ for (const profile of options.profiles) {
+ profile.options.accessibility = {
+ forceGoogleDocsHtmlRendering: false
+ };
+ }
+ return options;
+ }
}