mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Merge
This commit is contained in:
commit
acd2d26772
@ -201,9 +201,9 @@ $('.previous-pastes .items').html(zerobin.get_pastes());
|
||||
/* clone a paste */
|
||||
$('.btn-clone').click(function(e){
|
||||
e.preventDefault();
|
||||
content_clone = '' ;
|
||||
$("#paste-content li").each(function(index) {
|
||||
content_clone = content_clone + $(this).text() + '\n';
|
||||
var content_clone = '' ;
|
||||
$("#paste-content li").each(function(index) {
|
||||
content_clone = content_clone + $(this).text() + '\n';
|
||||
});
|
||||
$('.submit-form').show();
|
||||
$('.paste-form').remove();
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
<div id="short-url-success" class="alert alert-success"></div>
|
||||
|
||||
<div class="well">
|
||||
<div class="well paste-form">
|
||||
<form action="/" method="get" accept-charset="utf-8">
|
||||
<p>
|
||||
<a id="short-url" href=""
|
||||
@ -42,7 +42,7 @@
|
||||
</p>
|
||||
|
||||
<p class="paste-option btn-group bottom">
|
||||
<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>
|
||||
</p>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user