← All changes
|
assets/src/apps/js/frontend/single-curriculum/components/compatible.js
+3
-3
4.1.7
→
4.4.10
View file →
| @@ -8,18 +8,18 @@ | ||
| 8 | 8 | LP.Hook.removeAction( 'lp-compatible-builder' ); |
| 9 | 9 | |
| 10 | 10 | if ( typeof elementorFrontend !== 'undefined' ) { |
| 11 | 11 | [ ...document.querySelectorAll( '#popup-content' ) ][ 0 ].addEventListener( 'scroll', () => { |
| 12 | - Waypoint.refreshAll(); | |
| 12 | + //Waypoint.refreshAll(); | |
| 13 | 13 | window.dispatchEvent( new Event( 'resize' ) ); |
| 14 | 14 | } ); |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | - if ( typeof vc_js !== 'undefined' && typeof VcWaypoint !== 'undefined' ) { | |
| 17 | + /*if ( typeof vc_js !== 'undefined' && typeof VcWaypoint !== 'undefined' ) { | |
| 18 | 18 | [ ...document.querySelectorAll( '#popup-content' ) ][ 0 ].addEventListener( 'scroll', () => { |
| 19 | 19 | VcWaypoint.refreshAll(); |
| 20 | 20 | } ); |
| 21 | - } | |
| 21 | + }*/ | |
| 22 | 22 | } ); |
| 23 | 23 | |
| 24 | 24 | LP.Hook.addAction( 'lp-quiz-compatible-builder', () => { |
| 25 | 25 | LP.Hook.removeAction( 'lp-quiz-compatible-builder' ); |