1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-26 10:00:34 +00:00

Coding style tweak

This commit is contained in:
Jermolene 2014-08-30 23:05:04 +01:00
parent 032520fbe1
commit 05dfa1e1e3

View File

@ -268,8 +268,7 @@ Widget.prototype.assignAttributes = function(domNode,options) {
try { try {
if (b.length == 2 && b[0] == "xlink"){ if (b.length == 2 && b[0] == "xlink"){
domNode.setAttributeNS("http://www.w3.org/1999/xlink",b[1],v); domNode.setAttributeNS("http://www.w3.org/1999/xlink",b[1],v);
} } else {
else {
domNode.setAttributeNS(null,a,v); domNode.setAttributeNS(null,a,v);
} }
} catch(e) { } catch(e) {