Files
Testing/tbb/wp-content/plugins/w3-total-cache/Minify_GeneralPage_View_ShowHelp.js
sean 343b4a3f3f
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-19 18:32:17 -05:00

28 lines
562 B
JavaScript

function w3tc_show_minify_help() {
W3tc_Lightbox.open({
id: 'w3tc-overlay',
close: '',
width: 800,
height: 610,
url: ajaxurl + '?action=w3tc_ajax&_wpnonce=' + w3tc_nonce +
'&w3tc_action=minify_help',
callback: function(lightbox) {
jQuery('.btn-primary', lightbox.container).click(function() {
lightbox.close();
});
}
});
}
jQuery(function($) {
$('#minify__enabled').click(function() {
var checked = $(this).is(':checked');
if (!checked)
return;
w3tc_show_minify_help();
});
});