Permalink
Browse files

check if console exists 1st, prevent IE7 error

  • Loading branch information...
1 parent 0a11a40 commit 15d0da662fb2b2d82735b66407fd9db4d53a925b @mbrevoort committed May 30, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.html
View
@@ -63,10 +63,10 @@
}
});
$("#jfmfs-container").bind("jfmfs.friendload.finished", function() {
- console.log("finished loading!");
+ window.console && console.log("finished loading!");
});
$("#jfmfs-container").bind("jfmfs.selection.changed", function(e, data) {
- console.log("changed", data);
+ window.console && console.log("changed", data);
});
$("#logged-out-status").hide();

0 comments on commit 15d0da6

Please sign in to comment.