mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
fixed isFile for extended file id size
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user