Skip to content

Commit

Permalink
🐛 Fixed shortcuts not hiding properly
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkih committed Jun 10, 2019
1 parent ee66d5a commit 133b809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/shortcuts.js
Expand Up @@ -29,7 +29,7 @@ class MiniMediaPlayerShortcuts extends LitElement {
}

render() {
if (!this.show) return;
if (!this.show) return html``;
const { active } = this;

const list = this.list ? html`
Expand All @@ -49,7 +49,7 @@ class MiniMediaPlayerShortcuts extends LitElement {
columns=${this.shortcuts.columns}
?color=${item.id === active}
class='mmp-shortcuts__button'
@click='${e => this.handleShortcut(e, item)}'>
@click=${e => this.handleShortcut(e, item)}>
${item.icon ? html`<iron-icon .icon=${item.icon}></iron-icon>` : ''}
${item.name ? html`<span class="ellipsis">${item.name}</span>` : ''}
</mwc-button>`)}
Expand Down

0 comments on commit 133b809

Please sign in to comment.