Merge pull request #1093 from MITx/bugfix/dave/pearson_compat
Don't log errors to console if there is no console (like IE8 and below).
This commit is contained in:
@@ -18,5 +18,6 @@ class @Courseware
|
||||
histg = new Histogram id, $(this).data('histogram')
|
||||
catch error
|
||||
histg = error
|
||||
console.log(error)
|
||||
if console?
|
||||
console.log(error)
|
||||
return histg
|
||||
|
||||
Reference in New Issue
Block a user