Bug 1506125 - Fix gesture support broken by bug 1506125. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D11478
This commit is contained in:
Paolo Amadini
2018-11-09 14:44:58 +00:00
parent 29483dd4e0
commit d668ea1231

View File

@@ -726,9 +726,7 @@ var gHistorySwipeAnimation = {
* 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);