Skip to content

Commit afed4e4

Browse files
committed
Merge branch 'Krakabek-master'
2 parents 463c56b + 0b6a103 commit afed4e4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

parallax.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,10 @@
351351
options = $.extend({}, $this.data(), options);
352352
$this.data('px.parallax', new Parallax(this, options));
353353
}
354+
else if (typeof option == 'object')
355+
{
356+
$.extend($this.data('px.parallax'), options);
357+
}
354358
if (typeof option == 'string') {
355359
Parallax[option]();
356360
}

parallax.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)