Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Issue 5945 (Show source link for CSS errors)

  • Loading branch information...
commit c61fcfca9019a24989377d72e57028c89249aa30 1 parent 122d121
Sebastian Zartner authored September 26, 2012 janodvarko committed October 08, 2012

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  extension/content/firebug/chrome/reps.js
5  extension/content/firebug/chrome/reps.js
@@ -2291,12 +2291,13 @@ FirebugReps.ErrorMessage = domplate(Firebug.Rep,
2291 2291
         // so let's try to skip those
2292 2292
         if (error.source)
2293 2293
             return "syntax";
2294  
-        else if (error.lineNo == 1 && Url.getFileExtension(error.href) != "js")
2295  
-            return "none";
2296 2294
         else if (error.category == "css")
2297 2295
             return "show";
2298 2296
         else if (!error.href || !error.lineNo)
2299 2297
             return "none";
  2298
+        // Why do we have that at all?
  2299
+        else if (error.lineNo == 1 && Url.getFileExtension(error.href) != "js")
  2300
+            return "none";
2300 2301
         else
2301 2302
             return "show";
2302 2303
     },

0 notes on commit c61fcfc

Please sign in to comment.
Something went wrong with that request. Please try again.