summaryrefslogtreecommitdiff
path: root/js/pomf.js
diff options
context:
space:
mode:
authorcenci0 <alchimist94@gmail.com>2015-02-05 01:29:51 +0100
committercenci0 <alchimist94@gmail.com>2015-02-05 01:29:51 +0100
commitc9fe613404d6b745edb51a6b71d637f22234c862 (patch)
treeaa865b704274c82e4e913b901a56da4bad48ce0e /js/pomf.js
parent5b77a4eaab418836820b2a0bad7c88f0b88136a0 (diff)
Minify output HTML code
- Minify HTML pages (using `grunt-contrib-htmlmin`) - Fix minor display error (force encode of HTML entity)
Diffstat (limited to 'js/pomf.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')