mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
Merge pull request #1336 from poscar/ie_console_fix
Fixed IE crash related to console usage. (Fix #1321)
This commit is contained in:
commit
5453764e31
1 changed files with 2 additions and 2 deletions
|
@ -23,10 +23,10 @@
|
|||
window.html10n = (function(window, document, undefined) {
|
||||
var console = window.console
|
||||
function interceptConsole(method){
|
||||
var original = console[method]
|
||||
|
||||
if (!console) return function() {}
|
||||
|
||||
var original = console[method]
|
||||
|
||||
// do sneaky stuff
|
||||
if (original.bind){
|
||||
// Do this for normal browsers
|
||||
|
|
Loading…
Reference in a new issue