Skip to content

Commit

Permalink
fixed deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
inferpse committed May 4, 2016
1 parent 8f67ebc commit fe753eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/js/jcf.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions js/jcf.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

// crossbrowser style handling
var addCSSRule = function(selector, rules, index) {
index = index || 0;
if (styleSheet.insertRule) {
styleSheet.insertRule(selector + '{' + rules + '}', index);
} else {
Expand Down

0 comments on commit fe753eb

Please sign in to comment.