diff --git a/core/modules/widgets/widget.js b/core/modules/widgets/widget.js index 4ddf69c3b..144f12fa2 100755 --- a/core/modules/widgets/widget.js +++ b/core/modules/widgets/widget.js @@ -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) {