1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00
This commit is contained in:
sam 2012-04-29 02:16:30 +07:00
commit acd2d26772
2 changed files with 5 additions and 5 deletions

View File

@ -201,7 +201,7 @@ $('.previous-pastes .items').html(zerobin.get_pastes());
/* clone a paste */ /* clone a paste */
$('.btn-clone').click(function(e){ $('.btn-clone').click(function(e){
e.preventDefault(); e.preventDefault();
content_clone = '' ; var content_clone = '' ;
$("#paste-content li").each(function(index) { $("#paste-content li").each(function(index) {
content_clone = content_clone + $(this).text() + '\n'; content_clone = content_clone + $(this).text() + '\n';
}); });

View File

@ -19,7 +19,7 @@
<div id="short-url-success" class="alert alert-success"></div> <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"> <form action="/" method="get" accept-charset="utf-8">
<p> <p>
<a id="short-url" href="" <a id="short-url" href=""
@ -42,7 +42,7 @@
</p> </p>
<p class="paste-option btn-group bottom"> <p class="paste-option btn-group bottom">
<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>
</p> </p>