Respect glance enabled preference before opening Glance on search (#8890)

This commit is contained in:
Ernestas Tautkus
2025-06-06 14:16:39 +03:00
committed by GitHub
parent a570a266e5
commit 5b3b72b9aa

View File

@@ -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;
}