зеркало из https://github.com/mozilla/gecko-dev.git
Fixed:Warning: assignment to undeclared variable i
This commit is contained in:
Родитель
c3e06b78b9
Коммит
3c6e04701f
|
@ -116,7 +116,7 @@ function onAlarmCall( Event )
|
|||
{
|
||||
var AddToArray = true;
|
||||
//check and make sure that the event is not already in the array
|
||||
for( i = 0; i < gAllEvents.length; i++ )
|
||||
for( var i = 0; i < gAllEvents.length; i++ )
|
||||
{
|
||||
if( gAllEvents[i].id == Event.id )
|
||||
AddToArray = false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче