mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-28 12:36:35 +00:00
Better logic to decide if a file is a skin
This commit is contained in:
parent
2c71fb7254
commit
aa7c55f7b7
1 changed files with 1 additions and 1 deletions
|
|
@ -356,7 +356,7 @@ function Winamp () {
|
|||
this.nodes.winamp.addEventListener('drop', this.drop);
|
||||
|
||||
this.startFileViaReference = function(fileReference) {
|
||||
if(new RegExp("(wsz|zip)", 'i').test(fileReference.name)) {
|
||||
if(new RegExp("(wsz|zip)$", 'i').test(fileReference.name)) {
|
||||
self.skinManager.setSkinByFileReference(fileReference);
|
||||
} else {
|
||||
var url = self.fileManager.urlFromFileReference(fileReference);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue