From 27096703415efe374cdfcd136bc9ee3e1f96a47b Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 6 Feb 2020 22:25:45 +0900 Subject: [PATCH] Resolve #5861 --- src/client/components/notes.vue | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/client/components/notes.vue b/src/client/components/notes.vue index 0fa02681f..20076eff0 100644 --- a/src/client/components/notes.vue +++ b/src/client/components/notes.vue @@ -36,19 +36,6 @@ export default Vue.extend({ mixins: [ paging({ - onPrepend: (self, note) => { - // タブが非表示なら通知 - if (document.hidden) { - if ('Notification' in window && Notification.permission === 'granted') { - new Notification(getUserName(note.user), { - body: getNoteSummary(note), - icon: note.user.avatarUrl, - tag: 'newNote' - }); - } - } - }, - before: (self) => { self.$emit('before'); },