misc: only use console.log if it's available
This commit is contained in:
parent
e97b4d6233
commit
32a22ed1bf
|
@ -6,7 +6,7 @@ $(function() {
|
|||
dataType: 'jsonp',
|
||||
crossDomain: true,
|
||||
success: function(data) { $(elem).html(data.content); },
|
||||
error: function(error) { console.log('bouh', error); }
|
||||
error: function(error) { console.log && console.log('bouh', error); }
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue