[Centaury] Pref detach&tear-off of tabs.
parent
eb9e99c833
commit
54bec51574
|
@ -413,6 +413,10 @@ pref("browser.tabs.delayHidingAudioPlayingIconMS", 3000);
|
|||
|
||||
pref("browser.tabs.dontfocusfordialogs", true);
|
||||
|
||||
// Whether dragging a tab off the tab bar to tear it off into its own
|
||||
// window is enabled.
|
||||
pref("browser.tabs.allowTabDetach", true);
|
||||
|
||||
pref("browser.ctrlTab.previews", false);
|
||||
|
||||
// By default, do not export HTML at shutdown.
|
||||
|
|
|
@ -6357,6 +6357,11 @@
|
|||
return;
|
||||
}
|
||||
|
||||
// Check if tab detaching is enabled
|
||||
if (!Services.prefs.getBoolPref("browser.tabs.allowTabDetach")) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Disable detach within the browser toolbox
|
||||
var eX = event.screenX;
|
||||
var eY = event.screenY;
|
||||
|
|
Loading…
Reference in New Issue