File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
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.2
11+ // @version 1.20.3
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.2
11+ // @version 1.20.3
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
248248 type : "POST" ,
249249 url : "https://metasmoke.erwaysoftware.com/api/v2.0/posts/report" ,
250250 data : {
251- post_link : postUrl , // eslint-disable-line camelcase
251+ url : postUrl , // eslint-disable-line camelcase
252252 key : fdsc . metasmokeKey ,
253253 token : token
254254 }
404404 // Hence, do not display the false positive button
405405
406406 status += "</div>" ;
407+ $ ( "#smokey-report" ) . remove ( ) ; // otherwise, we'll get duplicate reports
407408 $ ( ".popup-actions" ) . prepend ( status ) ;
408409 // On click of the false positive button
409410 registerFeedbackButton ( "#feedback-fp" , "fp-" , "Reporting as false positive" ) ;
You can’t perform that action at this time.
0 commit comments