PATH:
home
/
lab2454c
/
mact34.com
/
wp-content
/
plugins
/
google-analytics-for-wordpress
/
assets
/
js
( function ( $ ) { // Add Color Picker to all inputs that have 'color-field' class. $( function () { init_color_picker(); init_multiselect(); $( document ).on( 'widget-updated widget-added', function (e) { init_color_picker(); init_multiselect(); } ); $( document ).on( 'change', '.monsterinsights-save-on-change', function () { save_and_refresh_form( $( this ).closest( '.widget' ) ); } ); } ); function init_color_picker() { var timeout; $( '#widgets-right .monsterinsights-color-field' ).wpColorPicker( { change: function ( event, ui ) { if ( timeout ) { clearTimeout( timeout ); } timeout = setTimeout( function () { $( event.target ).trigger( 'change' ); }, 300 ); }, } ); } function save_and_refresh_form( widget ) { if ( wpWidgets && 'undefined' !== typeof wpWidgets.save ) { wpWidgets.save( widget, 0, 0 ); } } function init_multiselect() { if ( ! jQuery.fn.select300 ) { return; } $('#widgets-right .monsterinsights-multiselect').select300({ ajax: { type: 'POST', url: ajaxurl, delay: 250, width: 'resolve', data: function (params) { var taxonomy = $(this).data('taxonomy'); return { taxonomy: taxonomy, keyword: params.term, action: 'monsterinsights_get_terms', nonce: monsterinsights_pp.nonce, }; }, processResults: function (data) { return { results: data.data }; }, dataType: 'json' } }); } } )( jQuery );
[-] frontend.min.js
[edit]
[-] admin-common.min.js
[edit]
[-] frontend.js
[edit]
[-] index.php
[edit]
[+]
..
[-] frontend-gtag.min.js
[edit]
[-] frontend-gtag.js
[edit]
[-] admin-widget-settings.js
[edit]
[-] popular-posts.min.js
[edit]
[-] admin-widget-settings.min.js
[edit]
[-] popular-posts.js
[edit]
[-] admin-common.js
[edit]