summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-02-06 22:25:45 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2020-02-06 22:25:45 +0900
commit568ecd9477b0c06a75eb97bbab5166fa7b8fac05 (patch)
tree03b3a6f04408764c92acdf4445773b3c511f04e0
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadsharkey-568ecd9477b0c06a75eb97bbab5166fa7b8fac05.tar.gz
sharkey-568ecd9477b0c06a75eb97bbab5166fa7b8fac05.tar.bz2
sharkey-568ecd9477b0c06a75eb97bbab5166fa7b8fac05.zip
Resolve #5861
-rw-r--r--src/client/components/notes.vue13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/client/components/notes.vue b/src/client/components/notes.vue
index 0fa02681fa..20076eff0d 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');
},