diff --git a/src/page/General.jsx b/src/page/General.jsx
index 2bc57ae51..f207b2d61 100644
--- a/src/page/General.jsx
+++ b/src/page/General.jsx
@@ -163,6 +163,12 @@ export default function General() {
} else if (event.target.name === "defaultFindTab") {
newPref["defaultPicker"] = !event.target.checked;
}
+ if (event.target.name === "disableTypeOpen" && event.target.checked) {
+ newPref["disableAutoOpen"] = true;
+ }
+ if (event.target.name === "disableAutoOpen" && !event.target.checked) {
+ newPref["disableTypeOpen"] = false;
+ }
setState(newPref);
window.searchData.prefConfig = newPref;
saveConfigToScript();
@@ -642,6 +648,8 @@ export default function General() {
/>
+
+
{window.i18n('disableTypeOpen')}
@@ -656,6 +664,19 @@ export default function General() {
/>
+
+
+ {window.i18n('disableAutoOpen')}
+
+
+
+ }
+ label={window.i18n('disableAutoOpenTips')}
+ />
+
+
@@ -864,19 +885,6 @@ export default function General() {
-
-
- {window.i18n('disableAutoOpen')}
-
-
-
- }
- label={window.i18n('disableAutoOpenTips')}
- />
-
-
{window.i18n('hideOnSearchEngine')}