mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 10:15:31 +00:00
Permit whitespace in viscolor colors
This commit is contained in:
parent
f98d36725e
commit
ecea48dae3
1 changed files with 1 additions and 1 deletions
2
skin.js
2
skin.js
|
|
@ -75,7 +75,7 @@ SkinManager = {
|
|||
|
||||
_parseVisColors: function(zip) {
|
||||
var entries = this._findFileInZip("VISCOLOR.TXT", zip).asText().split("\n");
|
||||
var regex = /^(\d+),(\d+),(\d+)/
|
||||
var regex = /^(\d+),\s*(\d+),\s*(\d+)/
|
||||
for(var i = 0; i <= entries.length; i++) {
|
||||
var matches = regex.exec(entries[i]);
|
||||
if(matches) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue