mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 10:00:34 +00:00
Coding style tweak
This commit is contained in:
parent
032520fbe1
commit
05dfa1e1e3
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user