mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
tweak(ui): fix NotifCard accessing on_click
This commit is contained in:
parent
e6e058c0a0
commit
d2b37fc436
@ -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') || (() => {}));
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user