Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Issue 5945 (Show source link for CSS errors)

  • Loading branch information...
commit c61fcfca9019a24989377d72e57028c89249aa30 1 parent 122d121
Sebastian Zartner SebastianZ authored janodvarko committed
Showing with 3 additions and 2 deletions.
  1. +3 −2 extension/content/firebug/chrome/reps.js
5 extension/content/firebug/chrome/reps.js
View
@@ -2291,12 +2291,13 @@ FirebugReps.ErrorMessage = domplate(Firebug.Rep,
// so let's try to skip those
if (error.source)
return "syntax";
- else if (error.lineNo == 1 && Url.getFileExtension(error.href) != "js")
- return "none";
else if (error.category == "css")
return "show";
else if (!error.href || !error.lineNo)
return "none";
+ // Why do we have that at all?
+ else if (error.lineNo == 1 && Url.getFileExtension(error.href) != "js")
+ return "none";
else
return "show";
},
Please sign in to comment.
Something went wrong with that request. Please try again.