Moved some vars

This commit is contained in:
Henry 2015-10-08 13:15:31 -07:00
parent 12a94f828a
commit fc8630dbc6

View File

@ -189,12 +189,13 @@ define(
* @private
*/
NotificationService.prototype.selectNextNotification = function () {
var notification;
var notification,
i=0;
/*
Loop through the notifications queue and find the first one that
has not already been minimized (manually or otherwise).
*/
for (var i=0; i< this.notifications.length; i++) {
for (; i< this.notifications.length; i++) {
notification = this.notifications[i];
if (!notification.minimized