Skip to content

Instantly share code, notes, and snippets.

@Jleagle
Created December 12, 2019 11:28
Show Gist options
  • Save Jleagle/0f9c4980473a3cee3f81958c8bc73260 to your computer and use it in GitHub Desktop.
Save Jleagle/0f9c4980473a3cee3f81958c8bc73260 to your computer and use it in GitHub Desktop.
(function () {
var currentTime = 0;
$('.remove-button input[value=removed]').each(function() {
var link = $(this).closest('form').find('.yes');
currentTime = currentTime + 500;
setTimeout(function() {
link.click();
}, currentTime);
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment