mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 11:04:00 +00:00
Use a better id
This commit is contained in:
parent
9ea8c64253
commit
f80b842ea6
1 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ npm install --save winamp2-js
|
|||
Create a DOM element somewhere in your HTML document:
|
||||
|
||||
```
|
||||
<div id='winamp2-js'></div>
|
||||
<div id='app'></div>
|
||||
```
|
||||
|
||||
Initialize Winamp2-js in your JavaScript:
|
||||
|
|
@ -60,7 +60,7 @@ const winamp = new Winamp({
|
|||
enableHotkeys: true // Enable hotkeys
|
||||
});
|
||||
// Render after the skin has loaded.
|
||||
winamp.renderWhenReady(document.getElementById('winamp2-js'));
|
||||
winamp.renderWhenReady(document.getElementById('app'));
|
||||
```
|
||||
|
||||
_Notes:_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue