Merge branch '366-notification-cross-click' into 'develop'
Resolve "Clicking on the cross on notification does not close them" Closes #366 See merge request funkwhale/funkwhale!323
This commit is contained in:
commit
2e9fd9c3c7
|
@ -0,0 +1 @@
|
||||||
|
Fix notifications not closing when clicking on the cross (#366)
|
|
@ -12,9 +12,6 @@ import $ from 'jquery'
|
||||||
export default {
|
export default {
|
||||||
mounted () {
|
mounted () {
|
||||||
let self = this
|
let self = this
|
||||||
$(this.$el).find('.close.icon').on('click', function () {
|
|
||||||
$(self.$el).transition('fade', 125)
|
|
||||||
})
|
|
||||||
$(this.$el).on('click', function () {
|
$(this.$el).on('click', function () {
|
||||||
$(self.$el).transition('fade', 125)
|
$(self.$el).transition('fade', 125)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue