diff --git a/src/public/app/widgets/type_widgets/options/other/search_engine.js b/src/public/app/widgets/type_widgets/options/other/search_engine.js index fcbc7b5c2..081aa0aa8 100644 --- a/src/public/app/widgets/type_widgets/options/other/search_engine.js +++ b/src/public/app/widgets/type_widgets/options/other/search_engine.js @@ -1,4 +1,5 @@ import OptionsWidget from "../options_widget.js"; +import utils from "../../../../services/utils.js"; const TPL = `
@@ -43,6 +44,10 @@ const SEARCH_ENGINES = { } export default class SearchEngineOptions extends OptionsWidget { + isEnabled() { + return super.isEnabled() && utils.isElectron(); + } + doRender() { this.$widget = $(TPL);