author | Paolo Amadini <paolo.mozmail@amadzone.org> |
Fri, 09 Nov 2018 14:44:58 +0000 | |
changeset 445521 | b1d6491fc47e69c118a630a1367bca40af30632f |
parent 445520 | e9267d39ec81476831da99bd3b98557877962ca3 |
child 445522 | dfdd63aae0c53fe1ce5b91bccb0262040cbf90b4 |
push id | 35020 |
push user | shindli@mozilla.com |
push date | Sat, 10 Nov 2018 21:37:25 +0000 |
treeherder | mozilla-central@39dba5141dd9 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | dao |
bugs | 1506125 |
milestone | 65.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/browser/base/content/browser-gestureSupport.js +++ b/browser/base/content/browser-gestureSupport.js @@ -721,19 +721,17 @@ var gHistorySwipeAnimation = { _completeFadeOut: function HSA__completeFadeOut(aEvent) { gHistorySwipeAnimation._removeBoxes(); }, /** * Adds the boxes that contain the arrows used during the swipe animation. */ _addBoxes: function HSA__addBoxes() { - let browserStack = - document.getAnonymousElementByAttribute(gBrowser.getPanel(), - "class", "browserStack"); + let browserStack = gBrowser.getPanel().querySelector(".browserStack"); this._container = this._createElement("historySwipeAnimationContainer", "stack"); browserStack.appendChild(this._container); this._prevBox = this._createElement("historySwipeAnimationPreviousArrow", "box"); this._prevBox.collapsed = true; this._prevBox.style.opacity = 0;