fix(controls): remove duplicate previous listener

This commit is contained in:
wryk 2020-02-17 21:31:35 +01:00
parent 2b7c4a6c04
commit 7efd05ef3d
1 changed files with 3 additions and 2 deletions

View File

@ -6,8 +6,9 @@
<div class="controls__controls">
<button
class="controls__prevnext"
class:disabled={!$canPrevious} on:click={() => selectPrevious()}
disabled={!$canPrevious} on:click={() => selectPrevious()}
class:disabled={!$canPrevious}
disabled={!$canPrevious}
on:click={() => selectPrevious()}
aria-label="Prev"
title="Previous song"
><Prev></Prev></button>