Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #6 from autonome/1161481-theme-transitions
Browse files Browse the repository at this point in the history
Bug 1161481 - Changing the theme will break all transitions (r=etienne)
  • Loading branch information
etiennesegonzac committed May 7, 2015
2 parents d10b786 + 0dfd8a9 commit 1f34fe0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/generation.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@
var group;
if (root === ':root') {
group = 'default';
// Add :root CSS variables here.
str += '--transition-duration: 0.2s;\n';
} else {
group = root.split('-')[1];
}
Expand Down

0 comments on commit 1f34fe0

Please sign in to comment.