Title: [201762] trunk/Source/WebInspectorUI
Revision
201762
Author
[email protected]
Date
2016-06-07 11:55:08 -0700 (Tue, 07 Jun 2016)

Log Message

Web Inspector: add a keyboard shortcut to open the new tab tab
https://bugs.webkit.org/show_bug.cgi?id=158365
<rdar://problem/26631897>

Unreviewed, fix a typo introduced in r201692.
This caused the new tab button to stop working.

* UserInterface/Base/Main.js:
(WebInspector._updateNewTabButtonState):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (201761 => 201762)


--- trunk/Source/WebInspectorUI/ChangeLog	2016-06-07 18:52:06 UTC (rev 201761)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-06-07 18:55:08 UTC (rev 201762)
@@ -1,3 +1,15 @@
+2016-06-07  Brian Burg  <[email protected]>
+
+        Web Inspector: add a keyboard shortcut to open the new tab tab
+        https://bugs.webkit.org/show_bug.cgi?id=158365
+        <rdar://problem/26631897>
+
+        Unreviewed, fix a typo introduced in r201692.
+        This caused the new tab button to stop working.
+
+        * UserInterface/Base/Main.js:
+        (WebInspector._updateNewTabButtonState):
+
 2016-06-05  Matt Baker  <[email protected]>
 
         REGRESSION (r201686): Web Inspector: Fix typo causing an internal error

Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Main.js (201761 => 201762)


--- trunk/Source/WebInspectorUI/UserInterface/Base/Main.js	2016-06-07 18:52:06 UTC (rev 201761)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Main.js	2016-06-07 18:55:08 UTC (rev 201762)
@@ -521,7 +521,7 @@
 
 WebInspector._updateNewTabButtonState = function(event)
 {
-    this.tabBar.newTabItem.disabled = this.isNewTabWithTypeAllowed(WebInspector.NewTabContentView.Type);
+    this.tabBar.newTabItem.disabled = !this.isNewTabWithTypeAllowed(WebInspector.NewTabContentView.Type);
 };
 
 WebInspector._newTabItemClicked = function(event)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to