mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
js cleanup + minor tweaks
This commit is contained in:
parent
5a9c0ad225
commit
127ec10c0d
10 changed files with 312 additions and 261 deletions
|
@ -171,7 +171,7 @@ Range: bytes=26- Content-Range: bytes */26
|
|||
|
||||
var tsh = [];
|
||||
function convert_markdown(md_text, dest_dom) {
|
||||
tsh.push(new Date().getTime());
|
||||
tsh.push(Date.now());
|
||||
while (tsh.length > 10)
|
||||
tsh.shift();
|
||||
if (tsh.length > 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue