# HG changeset patch # User Pascal Bellard # Date 1475589491 -7200 # Node ID 8fd5d4c953f6cce0dc293982f28b9794768ee292 # Parent 7a16da2c93b9970e2a9eed3be1cecc098a615978 zerobin: add download button (again) diff -r 7a16da2c93b9 -r 8fd5d4c953f6 zerobin/stuff/zerobin.u --- a/zerobin/stuff/zerobin.u Tue Oct 04 15:33:49 2016 +0200 +++ b/zerobin/stuff/zerobin.u Tue Oct 04 15:58:11 2016 +0200 @@ -49,7 +49,7 @@ var cipherdata = zeroCipher(randomkey, $('textarea#message').val()); var data_to_send = { data: cipherdata, expire: $('select#pasteExpiration').val(), -@@ -416,6 +416,7 @@ +@@ -410,6 +416,7 @@ $('button#sendbutton').show(); $('button#clonebutton').hide(); $('button#rawtextbutton').hide(); @@ -57,7 +57,7 @@ $('div#expiration').show(); $('div#remainingtime').hide(); $('div#burnafterreadingoption').show(); -@@ -444,6 +445,7 @@ +@@ -438,6 +445,7 @@ $('button#clonebutton').show(); } $('button#rawtextbutton').show(); @@ -65,7 +65,7 @@ $('div#expiration').hide(); $('div#burnafterreadingoption').hide(); -@@ -463,6 +465,14 @@ +@@ -457,6 +465,14 @@ var newDoc = document.open('text/html', 'replace'); newDoc.write('
'+paste+'
'); newDoc.close();