Переглянути джерело

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') || (() => {}));
-    }
 });