roundcube-easy-unsubscribe/easy_unsubscribe.js

9 lines
190 B
JavaScript
Raw Permalink Normal View History

2023-11-29 12:41:51 -05:00
function easy_unsubscribe_click(link) {
if(confirm(rcmail.get_label('confirm', 'easy_unsubscribe'))) {
if(link.dataset.href) window.open(link.dataset.href, '_blank');
}
}