From d74172064b0698ca9c9b233e89b8c564819dff8d Mon Sep 17 00:00:00 2001 From: Hexalyse Date: Sat, 5 Sep 2015 14:45:50 +0200 Subject: [PATCH] Hide error message when paste is posted correctly --- js/zerobin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/zerobin.js b/js/zerobin.js index 7258cde..ad7827f 100644 --- a/js/zerobin.js +++ b/js/zerobin.js @@ -396,7 +396,7 @@ function send_data() { var url = scriptLocation() + "?" + data.id + '#' + randomkey; var deleteUrl = scriptLocation() + "?pasteid=" + data.id + '&deletetoken=' + data.deletetoken; showStatus(''); - + $('#errormessage').addClass('hidden'); $('#pastelink').html('Your paste is ' + url + ' (Hit CTRL+C to copy)'); $('#deletelink').html('Delete data'); $('#pasteresult').removeClass('hidden');