now catching exceptions in case a console instance is missing

This commit is contained in:
Nicolas Perriault 2011-02-07 11:05:26 +01:00
parent 57aeebb4aa
commit 549b1fd6ce

View File

@ -21,7 +21,11 @@ $(document).ready(function() {
home();
}
} catch (err) {
console.log(err);
try {
console.log(err);
} catch (e) {
/*fail silently*/
}
}
});