зеркало из https://github.com/mozilla/pjs.git
Fix 202792 - remove startup JS warnings, patch by holyspirit@hkpeople.net and brantgurganus2001@cherokeescouting.org
This commit is contained in:
Родитель
45f5903803
Коммит
7fcec3acee
|
@ -758,10 +758,7 @@
|
|||
|
||||
// Now select the new tab before nuking the old one.
|
||||
var currentIndex = this.mPanelContainer.selectedIndex;
|
||||
|
||||
// Now select the new tab before nuking the old one.
|
||||
var currentIndex = this.mPanelContainer.selectedIndex;
|
||||
|
||||
|
||||
var newIndex = -1;
|
||||
if (currentIndex > index)
|
||||
newIndex = currentIndex-1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче