Pārlūkot izejas kodu

tweak(ui): fix NotifCard accessing on_click

KernelDeimos 1 gadu atpakaļ
vecāks
revīzija
d2b37fc436
1 mainītis faili ar 0 papildinājumiem un 4 dzēšanām
  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') || (() => {}));
-    }
 });