diff --git a/Changelog.md b/Changelog.md new file mode 100644 index 0000000..3cfaf44 --- /dev/null +++ b/Changelog.md @@ -0,0 +1,3 @@ +## 0.6.1 +### Quick Promoter +- Fixed issue where you couldn't promote any thread due to saying Dev is banned from promotion \ No newline at end of file diff --git a/quick-promoter.js b/quick-promoter.js index cab35d8..28de3b5 100644 --- a/quick-promoter.js +++ b/quick-promoter.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Promote Current Time // @namespace http://tampermonkey.net/ -// @version 0.6.0 +// @version 0.6.1 // @description Enter the current time for promotion. // @author Gameil // @match https://f95zone.to/threads/*/ @@ -55,7 +55,7 @@ onload: function(response) { if (response.status === 200) { const data = JSON.parse(response.responseText); - if (data) { + if (Array.isArray(data) && data.length !== 0) { devBanned = true; } // Handle successful response here