Skip to content
Permalink
Browse files

this should fix #170 and #195

  • Loading branch information...
wstoettinger committed Oct 10, 2017
1 parent 47ab160 commit 57790edab5f384f5ab53ce4dd3bbf0a11bc859f1
Showing with 3 additions and 3 deletions.
  1. +2 −2 parallax.js
  2. +1 −1 parallax.min.js
@@ -93,7 +93,7 @@
if (navigator.userAgent.match(/(iPod|iPhone|iPad)/)) {
if (this.imageSrc && this.iosFix && !this.$element.is('img')) {
this.$element.css({
backgroundImage: 'url(' + this.imageSrc + ')',
backgroundImage: 'url("' + this.imageSrc + '")',
backgroundSize: 'cover',
backgroundPosition: this.position
});
@@ -104,7 +104,7 @@
if (navigator.userAgent.match(/(Android)/)) {
if (this.imageSrc && this.androidFix && !this.$element.is('img')) {
this.$element.css({
backgroundImage: 'url(' + this.imageSrc + ')',
backgroundImage: 'url("' + this.imageSrc + '")',
backgroundSize: 'cover',
backgroundPosition: this.position
});

Some generated files are not rendered by default. Learn more.

0 comments on commit 57790ed

Please sign in to comment.
You can’t perform that action at this time.