You've already forked Sonarr
							
							
				mirror of
				https://github.com/Sonarr/Sonarr.git
				synced 2025-10-31 00:07:55 +02:00 
			
		
		
		
	Added polyfils for IE console object.
This commit is contained in:
		| @@ -1,15 +1,13 @@ | ||||
| 'use strict'; | ||||
| (function () { | ||||
|  | ||||
|     if (!window.console) { | ||||
|         window.console = {}; | ||||
|     } | ||||
|  | ||||
|     if (!window.console.debug) { | ||||
|         window.console.debug = function () { | ||||
|  | ||||
|         }; | ||||
|     } | ||||
|     window.console = window.console || {}; | ||||
|     window.console.log = window.console.log || function(){}; | ||||
|     window.console.group = window.console.group || function(){}; | ||||
|     window.console.groupEnd = window.console.groupEnd || function(){}; | ||||
|     window.console.debug = window.console.debug || function(){}; | ||||
|     window.console.warn = window.console.warn || function(){}; | ||||
|     window.console.assert = window.console.assert || function(){}; | ||||
|  | ||||
|     window.alert = function (message) { | ||||
|         window.Messenger().post(message); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user