[Pkg-mozext-commits] [firebug] 02/28: Fixed formatting of previous commit
David Prévot
taffit at moszumanska.debian.org
Mon Mar 31 22:46:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag firebug-1.10.3
in repository firebug.
commit 20693cdd82e0ef3c13de6bc25667893ccaef7939
Author: Sebastian Zartner <sebastianzartner at gmx.de>
Date: Mon Aug 6 14:34:22 2012 +0200
Fixed formatting of previous commit
---
extension/content/firebug/html/htmlPanel.js | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/extension/content/firebug/html/htmlPanel.js b/extension/content/firebug/html/htmlPanel.js
index ad09e2f..3f2ef6b 100644
--- a/extension/content/firebug/html/htmlPanel.js
+++ b/extension/content/firebug/html/htmlPanel.js
@@ -2266,14 +2266,16 @@ AttributeEditor.prototype = domplate(Firebug.InlineEditor.prototype,
getInitialValue: function(target, value)
{
- if(value == "")
+ if (value == "")
return value;
+
var element = Firebug.getRepObject(target);
- if(element && element instanceof window.Element)
- {
- var attributeName = Dom.getPreviousByClass(target, "nodeName").textContent;
- return element.getAttribute(attributeName);
- }
+ if (element && element instanceof window.Element)
+ {
+ var attributeName = Dom.getPreviousByClass(target, "nodeName").textContent;
+ return element.getAttribute(attributeName);
+ }
+
return value;
}
});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list