mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Merge pull request #30 from Natim/12_shorten_url_for_email_this
[CopyToClipboard] If there is no coloration, use the decrypted content
This commit is contained in:
commit
9a0efa7fa7
@ -318,6 +318,9 @@
|
|||||||
$("#paste-content li").each(function (index) {
|
$("#paste-content li").each(function (index) {
|
||||||
copy = copy + $(this).text().replace(/[\u00a0]+/g, ' ') + '\n';
|
copy = copy + $(this).text().replace(/[\u00a0]+/g, ' ') + '\n';
|
||||||
});
|
});
|
||||||
|
if (copy == '') {
|
||||||
|
copy = $("#paste-content").text();
|
||||||
|
}
|
||||||
return copy;
|
return copy;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user