From c9fe613404d6b745edb51a6b71d637f22234c862 Mon Sep 17 00:00:00 2001 From: cenci0 Date: Thu, 5 Feb 2015 01:29:51 +0100 Subject: Minify output HTML code - Minify HTML pages (using `grunt-contrib-htmlmin`) - Fix minor display error (force encode of HTML entity) --- js/pomf.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js') 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…') + // Terrible work-around, but necessary since otherwise the '…' entity is left decoded + totalName.html($('
').html('onii-chan, y-your upload is t-too big…').text()); break default: uploadFiles.addClass('error completed') -- cgit v1.2.3