Updated file format error
This commit is contained in:
parent
d7a9d1d1e8
commit
6d7917aa15
BIN
dist/main.js
vendored
BIN
dist/main.js
vendored
Binary file not shown.
@ -281,7 +281,7 @@ upload.start = {
|
|||||||
|
|
||||||
extension = data.link.split('.').pop();
|
extension = data.link.split('.').pop();
|
||||||
if (extension!=='jpeg'&&extension!=='jpg'&&extension!=='png'&&extension!=='gif'&&extension!=='webp') {
|
if (extension!=='jpeg'&&extension!=='jpg'&&extension!=='png'&&extension!=='gif'&&extension!=='webp') {
|
||||||
loadingBar.show('error', 'The file format of this link is not supported.');
|
loadingBar.show('error', 'File format of link not supported.');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user