aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/recipe.js
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-05-15 18:34:25 +0530
committerLibravatar GitHub <noreply@github.com>2021-05-15 15:04:25 +0200
commit8ef5380b941a8f1483ee5d30e61a5086e669b12e (patch)
tree8e4db26f558722622738c17c21f97187cdb23ea0 /src/webview/recipe.js
parentMinor refactoring to have consistent command-line invocations. (diff)
downloadferdium-app-8ef5380b941a8f1483ee5d30e61a5086e669b12e.tar.gz
ferdium-app-8ef5380b941a8f1483ee5d30e61a5086e669b12e.tar.zst
ferdium-app-8ef5380b941a8f1483ee5d30e61a5086e669b12e.zip
Adding DuckDuckGo as an alternative search engine (#1414)
* Adding DuckDuckGo as an alternative search engine. * Fixing review comments. * Fixing review comments.
Diffstat (limited to 'src/webview/recipe.js')
-rw-r--r--src/webview/recipe.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webview/recipe.js b/src/webview/recipe.js
index 2319e8e2a..2701603cb 100644
--- a/src/webview/recipe.js
+++ b/src/webview/recipe.js
@@ -152,6 +152,7 @@ class RecipeController {
152 () => this.settings.app.enableSpellchecking, 152 () => this.settings.app.enableSpellchecking,
153 () => this.settings.app.spellcheckerLanguage, 153 () => this.settings.app.spellcheckerLanguage,
154 () => this.spellcheckerLanguage, 154 () => this.spellcheckerLanguage,
155 () => this.settings.app.searchEngine,
155 ); 156 );
156 157
157 autorun(() => this.update()); 158 autorun(() => this.update());
@@ -230,6 +231,7 @@ class RecipeController {
230 debug('System spellcheckerLanguage', this.settings.app.spellcheckerLanguage); 231 debug('System spellcheckerLanguage', this.settings.app.spellcheckerLanguage);
231 debug('Service spellcheckerLanguage', this.settings.service.spellcheckerLanguage); 232 debug('Service spellcheckerLanguage', this.settings.service.spellcheckerLanguage);
232 debug('darkReaderSettigs', this.settings.service.darkReaderSettings); 233 debug('darkReaderSettigs', this.settings.service.darkReaderSettings);
234 debug('searchEngine', this.settings.app.searchEngine);
233 235
234 if (this.userscript && this.userscript.internal_setSettings) { 236 if (this.userscript && this.userscript.internal_setSettings) {
235 this.userscript.internal_setSettings(this.settings); 237 this.userscript.internal_setSettings(this.settings);