Skip to content

Commit 5c0a110

Browse files
Working with jQuery 3.x.x
1 parent 9ed1680 commit 5c0a110

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

parallax.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,8 @@
397397

398398
// Parallax Data-API
399399

400-
$(document).on('ready.px.parallax.data-api', function () {
401-
$('[data-parallax="scroll"]').parallax();
400+
$( function () {
401+
$('[data-parallax="scroll"]').parallax();
402402
});
403403

404404
}(jQuery, window, document));

0 commit comments

Comments
 (0)