mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-05-18 11:23:15 +12:00
Fix progress bar
This commit is contained in:
parent
56f7c9a9e0
commit
d780668cfb
|
@ -301,7 +301,7 @@ let dialog = {
|
|||
m('.drop-down-pop-up-footer', [
|
||||
m('button.styled_button', {onclick: ctrl.createEpub, disabled: ffcProgress() >= 0 && ffcProgress() < 1, style: 'float: right'}, 'Download EPUB'),
|
||||
ffcProgress() >= 0 ? m('.rating_container',
|
||||
m('.bars_container', m('.bar_container', m('.bar_dislike', m('.bar.bar_like', {style: {width: Math.max(0, ffcProgress()) * 100 + '%'}})))),
|
||||
m('.rating-bar', {style: {background: 'rgba(0, 0, 0, 0.2)', 'margin-right': '5px'}}, m('.like-bar', {style: {width: Math.max(0, ffcProgress()) * 100 + '%'}})),
|
||||
' ',
|
||||
ffcProgress() >= 0 && ffcProgress() < 1 ? [ m('i.fa.fa-spin.fa-spinner'), m.trust(' ') ] : null,
|
||||
ffcStatus()
|
||||
|
|
Loading…
Reference in a new issue