Submit
Path:
~
/
home
/
getwphos
/
public_html
/
milceticarch
/
wp-content
/
plugins
/
wp-reviews-plugin-for-google
/
static
/
js
/
File Content:
admin-notification.js
jQuery(document).ready(function() { let popupPosition = function() { let pad = jQuery('#wpcontent').css('padding-left'); jQuery('.trustindex-popup').css({ right: pad, 'margin-left': pad }); }; popupPosition(); jQuery(window).resize(popupPosition); jQuery(document).on('click', '.trustindex-notification-row .ti-close-notification', function(event) { let container = jQuery(this).closest('.trustindex-notification-row'); container.data('close-url', "").find('.notice-dismiss').trigger('click'); }); jQuery(document).on('click', '.trustindex-notification-row .ti-remind-later, .trustindex-notification-row .ti-hide-notification', function(event) { event.preventDefault(); let container = jQuery(this).closest('.trustindex-notification-row'); container.data('close-url', jQuery(this).attr('href')).find('.notice-dismiss').trigger('click'); return false; }); jQuery(document).on('click', '.trustindex-notification-row .notice-dismiss', function(event) { event.preventDefault(); let closeUrl = jQuery(this).closest('.trustindex-notification-row').data('close-url'); if (closeUrl) { jQuery.post(closeUrl, {}); } }); });
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
admin-editor.js
3609 bytes
0644
admin-notification.js
1166 bytes
0644
admin-page-settings-common.js
21530 bytes
0644
admin-page-settings-connect.js
4830 bytes
0644
admin-widget.js
1662 bytes
0644
N4ST4R_ID | Naxtarrr