diff --git a/zerobin/static/js/behavior.js b/zerobin/static/js/behavior.js index ae70b08..3f492ab 100644 --- a/zerobin/static/js/behavior.js +++ b/zerobin/static/js/behavior.js @@ -629,7 +629,8 @@ window.zerobin = { } } - return total * 250 / size; + // return total * 250 / size; + return total * 1000 / size; }, // prevent defaults @@ -756,7 +757,7 @@ if (content && key) { function (content) { /* Decrypted content goes back to initial container*/ - document.querySelector('#paste-content').innerHTML = content; + document.querySelector('#paste-content').innerText = content; if (content.indexOf('data:image') == 0) { // Display Image diff --git a/zerobin/views/base.tpl b/zerobin/views/base.tpl index 50a711d..5277385 100644 --- a/zerobin/views/base.tpl +++ b/zerobin/views/base.tpl @@ -79,8 +79,8 @@ %else: - %end +

×