diff --git a/static/js/behavior.js b/static/js/behavior.js index 1c72cc1..2e55443 100644 --- a/static/js/behavior.js +++ b/static/js/behavior.js @@ -201,9 +201,9 @@ $('.previous-pastes .items').html(zerobin.get_pastes()); /* clone a paste */ $('.btn-clone').click(function(e){ e.preventDefault(); - content_clone = '' ; - $("#paste-content li").each(function(index) { - content_clone = content_clone + $(this).text() + '\n'; + var content_clone = '' ; + $("#paste-content li").each(function(index) { + content_clone = content_clone + $(this).text() + '\n'; }); $('.submit-form').show(); $('.paste-form').remove(); diff --git a/views/paste.tpl b/views/paste.tpl index cba527f..c5eb3d5 100644 --- a/views/paste.tpl +++ b/views/paste.tpl @@ -19,7 +19,7 @@
-
+

- +