Skip to content

Commit 8b1c27d

Browse files
Directly mount notifications
Based on nextcloud/server#25184 Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
1 parent ee1197c commit 8b1c27d

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

js/notifications-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/notifications-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ Vue.prototype.n = n
2929
Vue.prototype.OC = OC
3030
Vue.prototype.OCA = OCA
3131

32-
const unifiedSearch = document.getElementById('unified-search')
33-
const notificationsBell = document.createElement('div')
34-
notificationsBell.setAttribute('id', 'notifications')
35-
unifiedSearch.insertAdjacentHTML('afterend', notificationsBell.outerHTML)
36-
3732
export default new Vue({
3833
el: '#notifications',
3934
render: h => h(App),

0 commit comments

Comments
 (0)