diff --git a/content/treestyletab/treestyletabbrowser_tabbarDNDObserver.js b/content/treestyletab/treestyletabbrowser_tabbarDNDObserver.js index cbf15ca7..bbd95685 100644 --- a/content/treestyletab/treestyletabbrowser_tabbarDNDObserver.js +++ b/content/treestyletab/treestyletabbrowser_tabbarDNDObserver.js @@ -31,11 +31,14 @@ TreeStyleTabBrowserTabbarDNDObserver.prototype = { { var sv = this.mOwner; - if (sv.evaluateXPath( + if ( + sv.evaluateXPath( 'ancestor-or-self::*[contains(" scrollbar popup menupopup panel tooltip ", concat(" ", local-name(), " "))]', aEvent.originalTarget, XPathResult.BOOLEAN_TYPE - ).booleanValue) + ).booleanValue || + (window.gToolbox && gToolbox.customizing) + ) return false; var tab = sv.getTabFromEvent(aEvent);