mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 23:27:30 +09:00
[Pale-Moon] Issue #1737 - Address nits.
This commit is contained in:
parent
054a3fb4a5
commit
b294e4f2ff
2 changed files with 3 additions and 5 deletions
|
|
@ -172,7 +172,7 @@ var FullScreen = {
|
||||||
if (aEvent.keyCode == aEvent.DOM_VK_ESCAPE) {
|
if (aEvent.keyCode == aEvent.DOM_VK_ESCAPE) {
|
||||||
FullScreen.hideNavToolbox(true);
|
FullScreen.hideNavToolbox(true);
|
||||||
} else if (aEvent.keyCode == aEvent.DOM_VK_F6) {
|
} else if (aEvent.keyCode == aEvent.DOM_VK_F6) {
|
||||||
// F6 is another shortcut to the address bar, but its not covered in OpenLocation()
|
// F6 is another shortcut to the address bar, but its not covered in OpenLocation()
|
||||||
FullScreen.showNavToolbox();
|
FullScreen.showNavToolbox();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -5710,8 +5710,7 @@ var BrowserOffline = {
|
||||||
// Stop automatic management of the offline status
|
// Stop automatic management of the offline status
|
||||||
try {
|
try {
|
||||||
ioService.manageOfflineStatus = false;
|
ioService.manageOfflineStatus = false;
|
||||||
} catch(ex) {
|
} catch(ex) {}
|
||||||
}
|
|
||||||
|
|
||||||
if (!ioService.offline && !this._canGoOffline()) {
|
if (!ioService.offline && !this._canGoOffline()) {
|
||||||
this._updateOfflineUI(false);
|
this._updateOfflineUI(false);
|
||||||
|
|
@ -7524,8 +7523,7 @@ var ToolbarIconColor = {
|
||||||
var colorChangedPref = false;
|
var colorChangedPref = false;
|
||||||
try {
|
try {
|
||||||
colorChangedPref = gPrefService.getBoolPref("ui.colorChanged");
|
colorChangedPref = gPrefService.getBoolPref("ui.colorChanged");
|
||||||
} catch(e) {
|
} catch(e) {}
|
||||||
}
|
|
||||||
// if pref indicates change, call inferFromText() on a small delay
|
// if pref indicates change, call inferFromText() on a small delay
|
||||||
if (colorChangedPref == true) {
|
if (colorChangedPref == true) {
|
||||||
setTimeout(() => { this.inferFromText(); }, 300);
|
setTimeout(() => { this.inferFromText(); }, 300);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue