diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-11 20:32:00 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-11 20:32:00 -0400 |
commit | b9bc1a6d17cafa0a97b46ffecda432cfc2f23b51 (patch) | |
tree | 319498e8724137a5680186645ca8324f2949eba3 /src/SMAPI.Web/wwwroot/Content/js | |
parent | 46141a7af21a921284bc82d49d888da864887d6e (diff) | |
parent | 2d47e479a5e48a575db3ca9998653c0435419440 (diff) | |
download | SMAPI-b9bc1a6d17cafa0a97b46ffecda432cfc2f23b51.tar.gz SMAPI-b9bc1a6d17cafa0a97b46ffecda432cfc2f23b51.tar.bz2 SMAPI-b9bc1a6d17cafa0a97b46ffecda432cfc2f23b51.zip |
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI.Web/wwwroot/Content/js')
-rw-r--r-- | src/SMAPI.Web/wwwroot/Content/js/log-parser.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/js/log-parser.js b/src/SMAPI.Web/wwwroot/Content/js/log-parser.js index 38a75a80..c4a35e96 100644 --- a/src/SMAPI.Web/wwwroot/Content/js/log-parser.js +++ b/src/SMAPI.Web/wwwroot/Content/js/log-parser.js @@ -92,7 +92,9 @@ smapi.logParser = function (data, sectionUrl) { *********/ var error = $("#error"); - $("#upload-button").on("click", function() { + $("#upload-button").on("click", function(e) { + e.preventDefault(); + $("#input").val(""); $("#popup-upload").fadeIn(); }); |