Skip to content

Commit

Permalink
Fix accessing undefined object
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Oct 2, 2013
1 parent 0d4e3c5 commit 2e2cd9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imp/js/dimpcore.js
Expand Up @@ -177,7 +177,9 @@ var DimpCore = {
toggleCheck: function(elt, on)
{
if (on === null) {
elt.hide();
if (elt) {
elt.hide();
}
return;
}

Expand Down

0 comments on commit 2e2cd9e

Please sign in to comment.