mirror of
https://github.com/danbulant/Mangades
synced 2026-06-20 06:41:16 +00:00
fix click not workign
This commit is contained in:
parent
d1d1d1f08e
commit
57dd92dc56
1 changed files with 2 additions and 2 deletions
|
|
@ -21,12 +21,12 @@
|
|||
*/
|
||||
function mouseenter(e) {
|
||||
if(e.buttons & 1) {
|
||||
dispatch("select");
|
||||
dispatch("select", e);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<tr on:mouseenter={mouseenter} on:mousedown={click} class:selected={selected} style="background-image: linear-gradient(to right, rgba(0, 255, 0, 0.247) {progress * 100}%, transparent {progress * 100}%)">
|
||||
<tr on:mouseenter={mouseenter} on:click={click} class:selected={selected} style="background-image: linear-gradient(to right, rgba(0, 255, 0, 0.247) {progress * 100}%, transparent {progress * 100}%)">
|
||||
<td class="no-wrap">{chapter.attributes.volume ? "Vol " + chapter.attributes.volume : ""}</td>
|
||||
<td class="no-wrap">{chapter.attributes.chapter ? "Chapter " + chapter.attributes.chapter : ""}</td>
|
||||
<td>
|
||||
|
|
|
|||
Loading…
Reference in a new issue