1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 17:40:29 +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 {
if (b.length == 2 && b[0] == "xlink"){
domNode.setAttributeNS("http://www.w3.org/1999/xlink",b[1],v);
}
else {
} else {
domNode.setAttributeNS(null,a,v);
}
} catch(e) {