diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index 2e175040c1a..2d5fefcf89c 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -59,8 +59,8 @@ - - + + document.getAnonymousNodes(this)[1] + + this.mTabBox.childNodes[0] + this.mTabBox.childNodes[1] @@ -1470,8 +1473,8 @@ if (aDragSession.canDrop && aDragSession.sourceNode.parentNode == this.mTabContainer) { var newIndex = this.getNewIndex(aEvent); - var ib = document.getElementById('tab-drop-indicator-bar'); - var ind = document.getElementById('tab-drop-indicator'); + var ib = this.mTabDropIndicatorBar; + var ind = ib.firstChild; ib.setAttribute('dragging','true'); if (window.getComputedStyle(this.parentNode, null).direction == "ltr") { @@ -1538,8 +1541,7 @@