mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 01:29:22 +00:00
Allow skins that are not in a /dir
Loading skins other than the default was broken
This commit is contained in:
parent
49f34b4086
commit
dea6e43f96
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ return {
|
|||
|
||||
_findFileInZip: function(name, zip) {
|
||||
// Note: "."s in file names are actually treated as wildcards
|
||||
return zip.file(new RegExp("/" + name, 'i'))[0];
|
||||
return zip.file(new RegExp("(/|^)" + name, 'i'))[0];
|
||||
},
|
||||
|
||||
_createNewStyleNode: function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue