mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-24 20:14:37 -04:00
Width hack.
This commit is contained in:
parent
c486962ff8
commit
e52b3dd440
19 changed files with 132 additions and 90 deletions
|
@ -11,7 +11,7 @@ const settings = Object.assign({
|
|||
packageName: 'package',
|
||||
alwaysVisible: false
|
||||
}, allsettings.download);
|
||||
const template =
|
||||
const tpl =
|
||||
`<div id="download" class="tool">
|
||||
<img src="${resource.image('download')}" alt="download"/>
|
||||
</div>`;
|
||||
|
@ -60,7 +60,7 @@ const init = () => {
|
|||
return;
|
||||
}
|
||||
|
||||
$download = dom(template)
|
||||
$download = dom(tpl)
|
||||
.hide()
|
||||
.appTo('#toolbar')
|
||||
.on('click', onClick);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue