Title: [158287] trunk/Source/WebInspectorUI
Revision
158287
Author
[email protected]
Date
2013-10-30 10:58:41 -0700 (Wed, 30 Oct 2013)

Log Message

Web Inspector: Fix PrettyPrinting Tool Load from Saved URL

Reviewed by Timothy Hatcher.

* Tools/PrettyPrinting/index.html:

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (158286 => 158287)


--- trunk/Source/WebInspectorUI/ChangeLog	2013-10-30 17:58:12 UTC (rev 158286)
+++ trunk/Source/WebInspectorUI/ChangeLog	2013-10-30 17:58:41 UTC (rev 158287)
@@ -1,3 +1,11 @@
+2013-10-30  Joseph Pecoraro  <[email protected]>
+
+        Web Inspector: Fix PrettyPrinting Tool Load from Saved URL
+
+        Reviewed by Timothy Hatcher.
+
+        * Tools/PrettyPrinting/index.html:
+
 2013-10-28  Alexandru Chiculita  <[email protected]>
 
         Web Inspector: CSS Regions: Add protocol API to expose content nodes addition/removal

Modified: trunk/Source/WebInspectorUI/Tools/PrettyPrinting/index.html (158286 => 158287)


--- trunk/Source/WebInspectorUI/Tools/PrettyPrinting/index.html	2013-10-30 17:58:12 UTC (rev 158286)
+++ trunk/Source/WebInspectorUI/Tools/PrettyPrinting/index.html	2013-10-30 17:58:41 UTC (rev 158287)
@@ -76,7 +76,7 @@
     var modePicker = document.getElementById("mode");
     if (updatePicker) {
         for (var i = 0; i < modePicker.options.length; ++i) {
-            if (modePicker.options[i]) {
+            if (modePicker.options[i].value === mode) {
                 modePicker.options[i].selected = true;
                 break;
             }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to