mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
overriding console when not defined, so IE doesn't break.
This commit is contained in:
@@ -5,7 +5,9 @@
|
|||||||
/// <reference path="JsLibraries/backbone.marionette.extend.js" />
|
/// <reference path="JsLibraries/backbone.marionette.extend.js" />
|
||||||
/// <reference path="JsLibraries/bootstrap.js" />
|
/// <reference path="JsLibraries/bootstrap.js" />
|
||||||
|
|
||||||
|
if (typeof console == "undefined") {
|
||||||
|
window.console = { log: function () { } };
|
||||||
|
}
|
||||||
|
|
||||||
NzbDrone = new Backbone.Marionette.Application();
|
NzbDrone = new Backbone.Marionette.Application();
|
||||||
NzbDrone.AddSeries = NzbDrone.module("AddSeries");
|
NzbDrone.AddSeries = NzbDrone.module("AddSeries");
|
||||||
|
|||||||
Reference in New Issue
Block a user