Bug 1364090 - Detach the reload and stop buttons from the location bar. r=johannh

MozReview-Commit-ID: Ltp6EghiI44
This commit is contained in:
Dão Gottwald
2017-05-11 19:16:05 +02:00
parent 9c888bab05
commit 3cb52f881d
22 changed files with 187 additions and 90 deletions

View File

@@ -4990,8 +4990,8 @@ var CombinedStopReload = {
if (this._initialized)
return;
let reload = document.getElementById("urlbar-reload-button");
let stop = document.getElementById("urlbar-stop-button");
let reload = document.getElementById("reload-button");
let stop = document.getElementById("stop-button");
if (!stop || !reload || reload.nextSibling != stop)
return;
@@ -5582,8 +5582,8 @@ const nodeToTooltipMap = {
"new-window-button": "newWindowButton.tooltip",
"new-tab-button": "newTabButton.tooltip",
"tabs-newtab-button": "newTabButton.tooltip",
"urlbar-reload-button": "reloadButton.tooltip",
"urlbar-stop-button": "stopButton.tooltip",
"reload-button": "reloadButton.tooltip",
"stop-button": "stopButton.tooltip",
"urlbar-zoom-button": "urlbar-zoom-button.tooltip",
};
const nodeToShortcutMap = {
@@ -5595,8 +5595,8 @@ const nodeToShortcutMap = {
"new-window-button": "key_newNavigator",
"new-tab-button": "key_newNavigatorTab",
"tabs-newtab-button": "key_newNavigatorTab",
"urlbar-reload-button": "key_reload",
"urlbar-stop-button": "key_stop",
"reload-button": "key_reload",
"stop-button": "key_stop",
"urlbar-zoom-button": "key_fullZoomReset",
};