Browse Source

tweak(ui): fix NotifCard accessing on_click

KernelDeimos 1 year ago
parent
commit
d2b37fc436
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/UI/Components/NotifCard.js

+ 0 - 4
src/UI/Components/NotifCard.js

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