1/*! 2 * Nu admin JS 3 */ 4/* jshint -W062 */ 5/*! 6 * Elementor Pgae Settings to Post Meta 7 * 8 * Wolf Core 1.0.0 9 */ 10 /* global PoizeAdminParams, 11 PoizeUI, 12 PoizeMasonry, 13 WPM, 14 confirm, 15 console */ 16/* jshint -W062 */ 17 18var PoizeElementorAdmin = function( $ ) { 19 20 "use strict"; 21 22 return { 23 24 /** 25 * Init UI 26 */ 27 init : function () { 28 29 if ( "undefined" === typeof elementor ) { 30 return; 31 } 32 33 this.blog(); 34 }, 35 36 blog : function () { 37 38 elementorFrontend.hooks.addAction( "frontend/element_ready/post-index.default", function( $scope ) { 39 40 $(".lazyload-bg").removeClass("lazy-hidden"); 41 42 if ( $scope.find( 'audio:not(.minimal-player-audio):not(.loop-post-player-audio),video:not(.video-bg)' ).length ) { 43 $scope.find( 'audio:not(.minimal-player-audio):not(.loop-post-player-audio),video:not(.video-bg)' ).mediaelementplayer(); 44 } 45 46 // Does'nt work 47 if ( $scope.find( '.wolf-playlist' ).length ) { 48 49 if ( 'undefined' !== typeof WPM ) { 50 51 WPM.cuePlaylists(); 52 } 53 } 54 55 setTimeout( function() { 56 57 if ( $scope.find( '.post-display-masonry' ).length ) { 58 //alert( 'masonry' ); 59 PoizeMasonry.init(); 60 } 61 62 }, 1000 ); 63 } ); 64 }, 65 66 portfolio : function () { 67 elementorFrontend.hooks.addAction( 'frontend/element_ready/work-index.default', function( $scope ) { 68 $(".lazyload-bg").removeClass("lazy-hidden"); 69 } ); 70 }, 71 72 product : function () { 73 elementorFrontend.hooks.addAction( 'frontend/element_ready/product-index.default', function( $scope ) { 74 $(".lazyload-bg").removeClass("lazy-hidden"); 75 } ); 76 }, 77 78 video : function () { 79 elementorFrontend.hooks.addAction( 'frontend/element_ready/video-index.default', function( $scope ) { 80 $(".lazyload-bg").removeClass("lazy-hidden"); 81 } ); 82 }, 83 84 release : function () { 85 elementorFrontend.hooks.addAction( 'frontend/element_ready/release-index.default', function( $scope ) { 86 $(".lazyload-bg").removeClass("lazy-hidden"); 87 } ); 88 }, 89 90 event : function () { 91 elementorFrontend.hooks.addAction( 'frontend/element_ready/event-index.default', function( $scope ) { 92 $(".lazyload-bg").removeClass("lazy-hidden"); 93 } ); 94 }, 95 96 fullPage : function () { 97 98 } 99 }; 100 101}( jQuery ); 102 103( function( $ ) { 104 105 "use strict"; 106 107 $( window ).on( 'elementor/frontend/init', function() { 108 PoizeElementorAdmin.init(); 109 } ); 110 111} )( jQuery );
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.