Skip to content

Commit

Permalink
Merge pull request #36 from gaearon/patch-1
Browse files Browse the repository at this point in the history
bugfix(generated-style): make sure generated styles are the last set, thus have highest precedence - #36
  • Loading branch information
rodneyrehm committed Jan 16, 2015
2 parents 0c5f077 + 54f8420 commit b3fce9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions viewport-units-buggyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@

function updateStyles() {
styleNode.textContent = getReplacedViewportUnits();
// move to the end in case inline <style>s were added dynamically
styleNode.parentNode.appendChild(styleNode);
}

function refresh() {
Expand Down

0 comments on commit b3fce9b

Please sign in to comment.