mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 11:33:44 +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;
|
||||
}
|
||||
},
|
||||
addItem: function(name, url) {
|
||||
var extensionRegex = /\.[0-9a-z]+$/i; // to detect the file type based on extension in the URL.
|
||||
var detectedFileType = url.match(extensionRegex);
|
||||
|
|
Loading…
Reference in a new issue