mirror of https://github.com/Sonarr/Sonarr
overriding console when not defined, so IE doesn't break.
This commit is contained in:
parent
c247406d67
commit
c43eb59efb
|
@ -5,7 +5,9 @@
|
|||
/// <reference path="JsLibraries/backbone.marionette.extend.js" />
|
||||
/// <reference path="JsLibraries/bootstrap.js" />
|
||||
|
||||
|
||||
if (typeof console == "undefined") {
|
||||
window.console = { log: function () { } };
|
||||
}
|
||||
|
||||
NzbDrone = new Backbone.Marionette.Application();
|
||||
NzbDrone.AddSeries = NzbDrone.module("AddSeries");
|
||||
|
|
Loading…
Reference in New Issue