Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
remove native shadow dom check
Browse files Browse the repository at this point in the history
  • Loading branch information
e111077 authored Feb 10, 2018
1 parent a8b8e91 commit 50ab1ae
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions iron-flex-layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,9 @@
// removing would be a breaking change, but new projects
// should never rely on this.
(function() {
if (Polymer.Settings && !Polymer.Settings.useNativeShadow) {
var style = document.createElement('style');
style.textContent = '[hidden] { display: none !important; }';
document.head.appendChild(style);
}
var style = document.createElement('style');
style.textContent = '[hidden] { display: none !important; }';
document.head.appendChild(style);
})();
</script>
<custom-style>
Expand Down

0 comments on commit 50ab1ae

Please sign in to comment.