Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
include ref in shim style identifier.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Jun 11, 2014
1 parent 9c1c6f0 commit 3cd3407
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,10 @@
var host = this.findHost(this);
if (host) {
var name = host.localName;
var style = document.querySelector('style[' + name + ']');
var style = document.querySelector('style[' + name + '=' + this.ref +']');
if (!style) {
style = document.createElement('style');
style.setAttribute(name, '');
style.setAttribute(name, this.ref);
document.head.appendChild(style);
}
return style;
Expand Down

0 comments on commit 3cd3407

Please sign in to comment.