浏览代码

tweak(ui): fix NotifCard accessing on_click

KernelDeimos 1 年之前
父节点
当前提交
d2b37fc436
共有 1 个文件被更改,包括 0 次插入4 次删除
  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') || (() => {}));
-    }
 });