diff --git a/browser/metro/base/content/browser-ui.js b/browser/metro/base/content/browser-ui.js index b19101a8a5cd..0d4cf43eb5e5 100644 --- a/browser/metro/base/content/browser-ui.js +++ b/browser/metro/base/content/browser-ui.js @@ -1041,12 +1041,12 @@ var BrowserUI = { return; } - if (ContextUI.dismiss()) { + if (Browser.selectedTab.isLoading()) { + Browser.selectedBrowser.stop(); return; } - if (Browser.selectedTab.isLoading()) { - Browser.selectedBrowser.stop(); + if (ContextUI.dismiss()) { return; } },