Commit 3b326048 by David Ormsbee

Don't log errors to console if there is no console (like IE8 and below).

parent 7ffb30d0
...@@ -18,5 +18,6 @@ class @Courseware ...@@ -18,5 +18,6 @@ class @Courseware
histg = new Histogram id, $(this).data('histogram') histg = new Histogram id, $(this).data('histogram')
catch error catch error
histg = error histg = error
console.log(error) if console?
console.log(error)
return histg return histg
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment