Skip to content
Browse files

MINOR Limiting console.log() output to explicit enabling through wind…

…ow.debug to avoid failing IE
  • Loading branch information...
1 parent 21e7ec6 commit 980686ab7594004e931a397f00b7f2df1e4271da @chillu chillu committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 admin/javascript/LeftAndMain.js
3 admin/javascript/LeftAndMain.js
@@ -743,7 +743,8 @@ jQuery.noConflict();
onremove: function() {
- console.log('saving','url'), this);
+ if(window.debug) console.log('saving','url'), this);
// Save the HTML state at the last possible moment.
// Don't store the DOM to avoid memory leaks.
if(!'deferredNoCache')) window._panelDeferredCache['url')] = this.html();

0 comments on commit 980686a

Please sign in to comment.
Something went wrong with that request. Please try again.