plugin updates

This commit is contained in:
Tony Volpe
2024-07-16 13:57:46 +00:00
parent 41f50eacc4
commit 8f93917880
1529 changed files with 259452 additions and 25451 deletions

View File

@@ -0,0 +1,12 @@
jQuery(document).ready(function ($) {
$('.wpmf-defile').on('click', function (e) {
e.preventDefault();
var id = $(this).data('id');
var href = $(this).attr('href');
if (href.indexOf('docs.google.com') != -1) {
window.open(href);
} else {
window.location.href = wpmf_single.vars.site_url + '?act=wpmf_download_file&id=' + id + '&wpmf_nonce=' + wpmf_single.vars.wpmf_nonce;
}
});
});