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:
parent
100f194381
commit
3768c71922
@ -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');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -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> Clone</button>
|
<button class="btn btn-clone"><i class="icon-camera"></i> Clone</button>
|
||||||
<button class="btn">New Paste</button>
|
<button class="btn">New Paste</button>
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user