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 e3a2df049c9b3694f3c86ffae2386d6a79f9e048 1 parent 66535fb
Sebastian Zartner authored September 26, 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
@@ -2346,12 +2346,13 @@ FirebugReps.ErrorMessage = domplate(Firebug.Rep,
2346 2346
         // so let's try to skip those
2347 2347
         if (error.source)
2348 2348
             return "syntax";
2349  
-        else if (error.lineNo == 1 && Url.getFileExtension(error.href) != "js")
2350  
-            return "none";
2351 2349
         else if (error.category == "css")
2352 2350
             return "show";
2353 2351
         else if (!error.href || !error.lineNo)
2354 2352
             return "none";
  2353
+        // Why do we have that at all?
  2354
+        else if (error.lineNo == 1 && Url.getFileExtension(error.href) != "js")
  2355
+            return "none";
2355 2356
         else
2356 2357
             return "show";
2357 2358
     },

0 notes on commit e3a2df0

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