File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
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+ } ) ( ) ;
You can’t perform that action at this time.
0 commit comments