Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Bug 1027463 - Check for element before clearing. r=kgrandon
Browse files Browse the repository at this point in the history
  • Loading branch information
daleharvey authored and KevinGrandon committed Jun 21, 2014
1 parent 1d94616 commit 265f93e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shared/elements/gaia_grid/js/grid_view.js
Expand Up @@ -183,7 +183,9 @@
// will not work because activities do not fire it.
var returnTimeout = 500;
setTimeout(function stateReturn() {
icon.element.classList.remove('launching');
if (icon.element) {
icon.element.classList.remove('launching');
}
}, returnTimeout);
}

Expand Down

0 comments on commit 265f93e

Please sign in to comment.