Skip to content

Commit

Permalink
fix issue on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
gsigno committed Nov 15, 2017
1 parent b215ebc commit f586987
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/simpleParallax.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
.join('')
.match(/-(moz|webkit|ms)-/) || (styles.OLink === '' && ['', 'o'])
)[1];
return pre;
if (pre == 'moz') return 'Moz';
else return pre;
})();

$.fn.simpleParallax = function(options) {
Expand Down
2 changes: 1 addition & 1 deletion src/simpleParallax.min.js

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

0 comments on commit f586987

Please sign in to comment.