mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
Fix skin file regex
This commit is contained in:
parent
7756f3819b
commit
4a9cf13937
1 changed files with 1 additions and 1 deletions
2
skin.js
2
skin.js
|
|
@ -64,7 +64,7 @@ SkinManager = function() {
|
|||
for(var selector in self._skinImages) {
|
||||
|
||||
var file = zip.filter(function (relativePath, file){
|
||||
return new RegExp("($|/)" + self._skinImages[selector], 'i').test(relativePath)
|
||||
return new RegExp("(^|/)" + self._skinImages[selector], 'i').test(relativePath)
|
||||
})[0];
|
||||
|
||||
if (!file) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue