Skip to content

Commit d3e2f10

Browse files
authored
Merge pull request #248 from Glorfindel83/master
FDSC v1.20.3
2 parents c5b813d + 6dc9ea9 commit d3e2f10

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
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.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

fdsc/fdsc.user.js

Lines changed: 3 additions & 2 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.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
@@ -248,7 +248,7 @@
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
}
@@ -404,6 +404,7 @@
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");

0 commit comments

Comments
 (0)