Bug 1144782 followup: fix typo. r=dao
authorJohn Kang <johnkang.h@gmail.com>
Tue, 24 Mar 2015 18:23:22 +0100
changeset 264267 983493507fe4645be2cb0410fdb357ecc18661c9
parent 264266 b78aa57b284e8a67bdaf6cf855eaa1b895c54d3d
child 264268 37bd20ca096a57932b1bb093f31e0e15033af38b
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1144782
milestone39.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
Bug 1144782 followup: fix typo. r=dao
browser/base/content/browser-loop.js
--- a/browser/base/content/browser-loop.js
+++ b/browser/base/content/browser-loop.js
@@ -485,17 +485,17 @@ XPCOMUtils.defineLazyModuleGetter(this, 
     handleEvent: function(event) {
       // We only should get "select" events.
       if (event.type != "TabSelect") {
         return;
       }
 
       let wasVisible = false;
       // Hide the infobar from the previous tab.
-      if (event.detail.previousTabfromTab) {
+      if (event.detail.previousTab) {
         wasVisible = this._hideBrowserSharingInfoBar(false, event.detail.previousTab.linkedBrowser);
       }
 
       // We've changed the tab, so get the new window id.
       for (let listener of this._tabChangeListeners) {
         try {
           listener(null, gBrowser.selectedBrowser.outerWindowID);
         } catch (ex) {