summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot/Content/js/json-validator.js
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-02 21:23:41 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-02 21:23:41 -0500
commitd07495c2dc1ed2f2af343705a8c4381e4e9cff18 (patch)
treebf759fb0682f131f819775bff974b59129da925e /src/SMAPI.Web/wwwroot/Content/js/json-validator.js
parent71048825bd460fb89e1ea4a8262ad78575719d47 (diff)
downloadSMAPI-d07495c2dc1ed2f2af343705a8c4381e4e9cff18.tar.gz
SMAPI-d07495c2dc1ed2f2af343705a8c4381e4e9cff18.tar.bz2
SMAPI-d07495c2dc1ed2f2af343705a8c4381e4e9cff18.zip
fix JSON Validator issues
Diffstat (limited to 'src/SMAPI.Web/wwwroot/Content/js/json-validator.js')
-rw-r--r--src/SMAPI.Web/wwwroot/Content/js/json-validator.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/js/json-validator.js b/src/SMAPI.Web/wwwroot/Content/js/json-validator.js
index 5499cef6..76b5f6d4 100644
--- a/src/SMAPI.Web/wwwroot/Content/js/json-validator.js
+++ b/src/SMAPI.Web/wwwroot/Content/js/json-validator.js
@@ -142,6 +142,7 @@ smapi.jsonValidator = function (sectionUrl, pasteID) {
});
// upload form
+ var submit = $("#submit");
var input = $("#input");
if (input.length) {
// disable submit if it's empty