Browse Source

[Pale-Moon] Issue #1737 - Part 5: Fix some typoes so the browser doesn't explode.

pull/24/head
Pale Moon 2 years ago committed by Roy Tam
parent
commit
0d1f8c11a8
  1. 2
      application/palemoon/base/content/browser-tabPreviews.js
  2. 2
      application/palemoon/base/content/browser.js

2
application/palemoon/base/content/browser-tabPreviews.js

@ -328,7 +328,7 @@ var ctrlTab = {
selectedIndex += aForward ? 1 : -1;
if (selectedIndex < 0) {
selectedIndex = this.previews.length - 1;
} else if (selectedIndex >= this.previews.length)
} else if (selectedIndex >= this.previews.length) {
selectedIndex = 0;
}
} while (this.previews[selectedIndex].hidden);

2
application/palemoon/base/content/browser.js

@ -4222,7 +4222,7 @@ var LinkTargetDisplay = {
_timer: 0,
get _isVisible () {
return XULBrowserWindow.statusTextField.label != "",
return XULBrowserWindow.statusTextField.label != "";
},
update: function() {

Loading…
Cancel
Save