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'; content_clone = content_clone + $(this).text() + '\n';
}); });
$('.submit-form').show(); $('.submit-form').show();
$('.paste-form').hide(); $('.paste-form').remove();
$('#content').val(content_clone); $('#content').val(content_clone);
$('#content').resize(); $('#content').trigger('change');
}); });

View File

@ -20,7 +20,7 @@
Download Download
</span> </span>
<span class="paste-option btn-group top"> <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> <button class="btn">New Paste</button>
</span> </span>
</p> </p>