Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

A little improvement related to issue 5834

  • Loading branch information...
commit 3965dd08504dcc8b930a8678a8397ae4f3e7a62f 1 parent 243d583
@janodvarko janodvarko authored
Showing with 5 additions and 6 deletions.
  1. +5 −6 extension/content/firebug/cookies/cookieReps.js
View
11 extension/content/firebug/cookies/cookieReps.js
@@ -973,13 +973,12 @@ CookieReps.SizeInfoTip = domplate(Firebug.Rep,
var size = cookie.getSize();
var rawSize = cookie.getRawSize();
var sizeInfo = [];
- if (size == rawSize)
- sizeInfo.push({label: Locale.$STR("cookie.sizeinfo.Size"), size: size});
- else
- {
- sizeInfo.push({label: Locale.$STR("cookie.sizeinfo.Size"), size: size});
+
+ sizeInfo.push({label: Locale.$STR("cookie.sizeinfo.Size"), size: size});
+
+ if (size != rawSize)
sizeInfo.push({label: Locale.$STR("cookie.sizeinfo.RawSize"), size: rawSize});
- }
+
this.tag.replace({sizeInfo: sizeInfo}, parentNode);
},
});
Please sign in to comment.
Something went wrong with that request. Please try again.