overriding console when not defined, so IE doesn't break.

pull/6/head
Keivan Beigi 12 years ago committed by kay.one
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…
Cancel
Save