Skip to content

Commit 8b74ae8

Browse files
committed
FDSC v1.20.1
1 parent aca23de commit 8b74ae8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

fdsc/fdsc.meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// @contributor J F
99
// @contributor Glorfindel
1010
// @attribution Brock Adams (https://github.com/BrockA)
11-
// @version 1.20
11+
// @version 1.20.1
1212
// @updateURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.meta.js
1313
// @downloadURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.user.js
1414
// @supportURL https://github.com/Charcoal-SE/Userscripts/issues

fdsc/fdsc.user.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// @contributor J F
99
// @contributor Glorfindel
1010
// @attribution Brock Adams (https://github.com/BrockA)
11-
// @version 1.20
11+
// @version 1.20.1
1212
// @updateURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.meta.js
1313
// @downloadURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.user.js
1414
// @supportURL https://github.com/Charcoal-SE/Userscripts/issues
@@ -502,11 +502,11 @@
502502
};
503503
sourceEl.src = "https://cdn.rawgit.com/ofirdagan/cross-domain-local-storage/d779a81a6383475a1bf88595a98b10a8bd5bb4ae/dist/scripts/xdLocalStorage.min.js";
504504
document.body.appendChild(sourceEl);
505-
})();
506505

507-
// Wait for flag link (works when in review queue)
508-
// Somehow, I am not able to trigger waitForKeyElements from within the main script ...
509-
waitForKeyElements(".js-flag-post-link", function (flagLinkNode) {
510-
// Let's hope the script is already initalized:
511-
flagLinkNode.on("click", fdsc.flagPopupTrigger);
512-
});
506+
// Wait for flag link (works when in review queue)
507+
// Somehow, I am not able to trigger waitForKeyElements from within the main script ...
508+
waitForKeyElements(".review-task-page .js-flag-post-link", function (flagLinkNode) {
509+
// Let's hope the script is already initalized:
510+
flagLinkNode.on("click", fdsc.flagPopupTrigger);
511+
});
512+
})();

0 commit comments

Comments
 (0)