Skip to content

Commit

Permalink
workaround for safari new watch expression
Browse files Browse the repository at this point in the history
  • Loading branch information
dannycoates committed Aug 10, 2010
1 parent 710b3c2 commit a7e32cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions front-end/node/Overrides.js
@@ -1,6 +1,7 @@
(function() { (function() {
window.addEventListener("load", function() { window.addEventListener("load", function() {
//var box = document.createElement('input'); //var box = document.createElement('input');
WebInspector.WatchExpressionsSection.NewWatchExpression = "''";
var panel = WebInspector.panels.scripts.panelEnablerView; var panel = WebInspector.panels.scripts.panelEnablerView;
panel.disclaimerElement.style.display = 'none'; panel.disclaimerElement.style.display = 'none';
panel.enabledForSession.parentNode.style.display = 'none'; panel.enabledForSession.parentNode.style.display = 'none';
Expand Down

0 comments on commit a7e32cb

Please sign in to comment.