mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-10 05:02:45 +01:00
fixed isFile for extended file id size
This commit is contained in:
parent
1ce115c3e9
commit
58b7a17680
@ -25,7 +25,7 @@ function loadShim(polyfill) {
|
||||
}
|
||||
|
||||
function isFile(id) {
|
||||
return /^[0-9a-fA-F]{10}$/.test(id);
|
||||
return /^[0-9a-fA-F]{10,16}$/.test(id);
|
||||
}
|
||||
|
||||
function copyToClipboard(str) {
|
||||
|
Loading…
Reference in New Issue
Block a user