scinote-web/app/assets/javascripts/sitewide/delegate_click.js

4 lines
106 B
JavaScript
Raw Normal View History

$(document).on('click', '[data-click-target]', function() {
$($(this).data('clickTarget')).click();
});