mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:37:51 +02:00
Comma..
This commit is contained in:
parent
7e414d47c7
commit
13d48fb0a7
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ new Vue({
|
||||||
}
|
}
|
||||||
|
|
||||||
return detectedItemType;
|
return detectedItemType;
|
||||||
}
|
},
|
||||||
addItem: function(name, url) {
|
addItem: function(name, url) {
|
||||||
var extensionRegex = /\.[0-9a-z]+$/i; // to detect the file type based on extension in the URL.
|
var extensionRegex = /\.[0-9a-z]+$/i; // to detect the file type based on extension in the URL.
|
||||||
var detectedFileType = url.match(extensionRegex);
|
var detectedFileType = url.match(extensionRegex);
|
||||||
|
|
Loading…
Reference in a new issue