mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-26 11:34:14 +00:00
Fix bug where loaing skins crashed in Chrome
When you load a skin after the initial load, there is no callback.
This commit is contained in:
parent
ab3ea207d4
commit
49f34b4086
1 changed files with 3 additions and 1 deletions
|
|
@ -52,7 +52,9 @@ return {
|
|||
var cssRules = newCssRules.join('\n');
|
||||
this.styleNode.appendChild(document.createTextNode(cssRules));
|
||||
this._parseVisColors(zip);
|
||||
this.completedCallback();
|
||||
if(this.completedCallback !== undefined) {
|
||||
this.completedCallback();
|
||||
}
|
||||
}.bind(this));
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue