Skip to content

Commit

Permalink
Merge pull request #9 from iobio/yang_bam2_hookup_bed_selection_and_r…
Browse files Browse the repository at this point in the history
…emove_event

Connected the bed selection and remove event to broker
  • Loading branch information
anderspitman authored Oct 23, 2024
2 parents 58bae16 + bd2570d commit b09db20
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,15 +371,11 @@ <h1 id="home-button" data-link="/">bam2.iobio</h1>
});

document.addEventListener('bed-file-selected', (event) => {
console.log(event.detail)
broker.bedText = event.detail.bedText;
});

document.addEventListener('bed-file-removed', (event) => {
console.log(event.detail)
});

document.addEventListener('local-file-selected', (event) => {
console.log(event.detail)
broker.bedText = event.detail;
});
</script>
</body>
Expand Down

0 comments on commit b09db20

Please sign in to comment.