Skip to content

Commit

Permalink
Merge pull request #2072 from 2Abendsegler/Pocket-Query-Revise-the-lo…
Browse files Browse the repository at this point in the history
…ok-of-the-buttons

Pocket Query Delete Button korrigiert
  • Loading branch information
capoaira authored Mar 8, 2022
2 parents 2ce8d3c + df38712 commit 715a1fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gc_little_helper_II.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -4609,7 +4609,9 @@ var mainGC = function() {
// Delete button on both tabs (Active and Downloadable).
$('.TableFooter .PQDelete').each(function() {
if ($(this).find('a')[0] && $(this).find('a')[0].innerHTML) {
this.innerHTML = this.innerHTML.replace(/<a /, '<input type="button"').replace('>' + $(this).find('a')[0].innerHTML + '</a>', ' value="' + $(this).find('a')[0].innerHTML + '">');
$(this).find('a').css('color','inherit');
$(this).find('a').css('font','inherit');
$(this).find('a')[0].innerHTML = '<input type="button" value="Delete Selected">';
}
});
// Refresh button on both tabs (Active and Downloadable).
Expand Down

0 comments on commit 715a1fb

Please sign in to comment.