Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
elementorbot authored Jul 10, 2024
2 parents 7f9c2a2 + dda2e11 commit 3146d31
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 713 deletions.
23 changes: 0 additions & 23 deletions assets/dev/js/frontend/frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,29 +298,6 @@ export default class Frontend extends elementorModules.ViewModule {
};
}

waypoint( $element, callback, options ) {
const defaultOptions = {
offset: '100%',
triggerOnce: true,
};

options = jQuery.extend( defaultOptions, options );

const correctCallback = function() {
const element = this.element || this,
result = callback.apply( element, arguments );

// If is Waypoint new API and is frontend
if ( options.triggerOnce && this.destroy ) {
this.destroy();
}

return result;
};

return $element.elementorWaypoint( correctCallback, options );
}

muteMigrationTraces() {
jQuery.migrateMute = true;

Expand Down
7 changes: 0 additions & 7 deletions assets/lib/waypoints/waypoints-for-editor.js

This file was deleted.

Loading

0 comments on commit 3146d31

Please sign in to comment.