tweak(ui): fix NotifCard accessing on_click

This commit is contained in:
KernelDeimos 2024-05-31 18:03:45 -04:00
parent e6e058c0a0
commit d2b37fc436

View File

@ -18,8 +18,4 @@ export default def(class NotifCard extends Component {
</div> </div>
`); `);
} }
on_ready ({ listen }) {
$(this.dom_).find('button').on('click', this.get('on_click') || (() => {}));
}
}); });