[Pale-Moon] Issue #1845 - Pref detach&tear-off tab handling.

Resolves #1845
This commit is contained in:
Moonchild 2021-01-13 02:26:18 +00:00 • committed by roytam1
commit ef13be6ef8
2 changed files with 9 additions and 0 deletions

View file

@ -4831,6 +4831,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;