Skip to content

Commit

Permalink
Merge pull request #840 from nextcloud/bugfix/noid/directly-mount-not…
Browse files Browse the repository at this point in the history
…ifications

Directly mount notifications
  • Loading branch information
nickvergessen authored Jan 19, 2021
2 parents ee1197c + 8b1c27d commit f3f8666
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions js/notifications-main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/notifications-main.js.map

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ Vue.prototype.n = n
Vue.prototype.OC = OC
Vue.prototype.OCA = OCA

const unifiedSearch = document.getElementById('unified-search')
const notificationsBell = document.createElement('div')
notificationsBell.setAttribute('id', 'notifications')
unifiedSearch.insertAdjacentHTML('afterend', notificationsBell.outerHTML)

export default new Vue({
el: '#notifications',
render: h => h(App),
Expand Down

0 comments on commit f3f8666

Please sign in to comment.