Reviewed by Adam.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 28 Oct 2007 04:24:31 +0000 (04:24 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 28 Oct 2007 04:24:31 +0000 (04:24 +0000)
        Don't print the line number in the Inspector Console if it is Zero.

        * page/inspector/ConsolePanel.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27165 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/page/inspector/ConsolePanel.js

index d84716b6b28370a167df2b31fae8716f372bb629..83c0424f8ea764b6b70ee2b9dbe8805db485eda1 100644 (file)
@@ -1,3 +1,11 @@
+2007-10-27  Timothy Hatcher  <timothy@apple.com>
+
+        Reviewed by Adam.
+
+        Don't print the line number in the Inspector Console if it is Zero.
+
+        * page/inspector/ConsolePanel.js:
+
 2007-10-27  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Adam Roben.
index 09c400ae16963e7281d76faf802c7ceac998073d..43169117a84cd62bbb1a2baa53dba363167a5273 100644 (file)
@@ -283,7 +283,7 @@ WebInspector.ConsoleMessage.prototype = {
         urlDiv.innerText = this.url;
         item.appendChild(urlDiv);
 
-        if (this.line >= 0) {
+        if (this.line) {
             var lineDiv = document.createElement("div");
             lineDiv.className = "console-message-line";
             lineDiv.innerText = this.line;