misc: fix check of window.console

This commit is contained in:
Frédéric Péters 2015-10-26 15:27:47 +01:00
parent 32a22ed1bf
commit 9e1c4ead13
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ $(function() {
dataType: 'jsonp',
crossDomain: true,
success: function(data) { $(elem).html(data.content); },
error: function(error) { console.log && console.log('bouh', error); }
error: function(error) { windows.console && console.log('bouh', error); }
});
});
});