1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

added clone option

This commit is contained in:
max 2012-04-29 01:09:51 +07:00
parent 100f194381
commit 3768c71922
2 changed files with 3 additions and 3 deletions

View File

@ -177,9 +177,9 @@ $('.btn-clone').click(function(e){
content_clone = content_clone + $(this).text() + '\n';
});
$('.submit-form').show();
$('.paste-form').hide();
$('.paste-form').remove();
$('#content').val(content_clone);
$('#content').resize();
$('#content').trigger('change');
});

View File

@ -20,7 +20,7 @@
Download
</span>
<span class="paste-option btn-group top">
<button class="btn"><i class="icon-camera"></i>&nbsp;Clone</button>
<button class="btn btn-clone"><i class="icon-camera"></i>&nbsp;Clone</button>
<button class="btn">New Paste</button>
</span>
</p>