mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
Respect glance enabled preference before opening Glance on search (#8890)
This commit is contained in:
@@ -747,6 +747,10 @@
|
||||
}
|
||||
|
||||
onSearchSelectCommand(where) {
|
||||
// Check if glance is enabled in user preferences
|
||||
if (!Services.prefs.getBoolPref('zen.glance.enabled', false)) {
|
||||
return;
|
||||
}
|
||||
if (where !== 'tab') {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user