Changeset 49939 in webkit
- Timestamp:
- Oct 22, 2009 8:28:58 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r49938 r49939 1 2009-10-21 Joseph Pecoraro <joepeck@webkit.org> 2 3 Reviewed by Pavel Feldman. 4 5 Web Inspector: windowFocused and windowBlurred Fail to Clear/Mark Inspector as "inactive" 6 https://bugs.webkit.org/show_bug.cgi?id=30663 7 8 * inspector/front-end/inspector.js: 9 (WebInspector.windowFocused): 10 (WebInspector.windowBlurred): 11 1 12 2009-10-22 Joseph Pecoraro <joepeck@webkit.org> 2 13 -
trunk/WebCore/inspector/front-end/inspector.js
r49648 r49939 512 512 WebInspector.windowFocused = function(event) 513 513 { 514 if (event.target .nodeType === Node.DOCUMENT_NODE)514 if (event.target === document.defaultView) 515 515 document.body.removeStyleClass("inactive"); 516 516 } 517 517 518 WebInspector.windowBlur ed = function(event)519 { 520 if (event.target .nodeType === Node.DOCUMENT_NODE)518 WebInspector.windowBlurred = function(event) 519 { 520 if (event.target === document.defaultView) 521 521 document.body.addStyleClass("inactive"); 522 522 } … … 1425 1425 { 1426 1426 doc.defaultView.addEventListener("focus", this.windowFocused.bind(this), true); 1427 doc.defaultView.addEventListener("blur", this.windowBlur ed.bind(this), true);1427 doc.defaultView.addEventListener("blur", this.windowBlurred.bind(this), true); 1428 1428 doc.addEventListener("click", this.documentClick.bind(this), true); 1429 1429 }
Note: See TracChangeset
for help on using the changeset viewer.