summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorEric Johansson (neku) <neku@pomf.se>2015-02-05 20:06:08 +0100
committerEric Johansson (neku) <neku@pomf.se>2015-02-05 20:06:08 +0100
commitb816236168e74309be4a298ff0a4644a732dc9f3 (patch)
tree1497dced7d755362dcdfd73b7e11d78b04597f2d /js
parentc359aa20cd0876e1e497aca1ff19e4c54287b6c2 (diff)
parentfd98101d073805fc42474a00bca640a618f99de6 (diff)
Merge pull request #27 from cenci0/master
Minor code refactoring and improvements
Diffstat (limited to 'js')
-rw-r--r--js/pomf.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/pomf.js b/js/pomf.js
index 59017fe..52d03ee 100644
--- a/js/pomf.js
+++ b/js/pomf.js
@@ -135,7 +135,8 @@ $(function () {
break
case 413:
uploadFiles.addClass('error completed')
- totalName.html('onii-chan, y-your upload is t-too big&hellip;')
+ // Terrible work-around, but necessary since otherwise the '&hellip;' entity is left decoded
+ totalName.html($('<div/>').html('onii-chan, y-your upload is t-too big&hellip;').text());
break
default:
uploadFiles.addClass('error completed')