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

Commit

Permalink
remove styling for the deprecated <element>
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Feb 25, 2014
1 parent a258a14 commit 96340d3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/patches-custom-elements.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
*/
(function() {

// inject style sheet
var style = document.createElement('style');
style.textContent = 'element {display: none !important;} /* injected by platform.js */';
var head = document.querySelector('head');
head.insertBefore(style, head.firstChild);

if (window.ShadowDOMPolyfill) {

// ensure wrapped inputs for these functions
Expand Down

0 comments on commit 96340d3

Please sign in to comment.