Skip to content

Commit

Permalink
probably better progress indication for the last page of tagme removal
Browse files Browse the repository at this point in the history
fixed extra lines adding up when submitting tags
  • Loading branch information
Seedmanc committed Aug 13, 2016
1 parent 4c1524c commit 3b73923
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions booru-augmentation-project.user.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ==UserScript==
// ==UserScript==
// @name Booru Augmentation Project
// @description Enhance your basic booru experience
// @version 1.0.9
Expand Down Expand Up @@ -646,7 +646,8 @@ function pagination () {

if (!paginator.down('a[alt="first page"]')||
!paginator.down('a[alt="next"]') ||
contents.length < 15 || pos >= 7) ||
contents.length < 15 ||
pos >= 7 ||
(contents.last().href == contents.last().previous('a:not([alt])').href) && (contents.first().href == contents.first().next('a:not([alt])').href)
) {
return;
Expand Down Expand Up @@ -876,6 +877,7 @@ function mySubmit() {

br.parentNode.removeChild(br);
spinner.parentNode.removeChild(spinner);
btnSubmit.parentNode.removeChild(btnSubmit.previous('br'));
btnSubmit.parentNode.removeChild(btnSubmit);

var taglist;
Expand Down

0 comments on commit 3b73923

Please sign in to comment.