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
+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.
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;