kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Coding style tweak
rodzic
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) {
|
||||||
|
|
Ładowanie…
Reference in New Issue