Skip to content

Commit

Permalink
Avoid Polymer.dom.setAttribute when unneeded.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Oct 19, 2015
1 parent 23a9a06 commit 9c5a404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/standard/x-styling.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
}
// note: using Polymer.dom here ensures that any attribute sets
// will provoke distribution if necessary
node = Polymer.dom(node);
node = this._clientsReadied ? Polymer.dom(node) : node;
serializeValueToAttribute.call(this, value, attribute, node);
},

Expand Down

0 comments on commit 9c5a404

Please sign in to comment.