diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-01-10 19:42:05 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-02-20 21:05:24 +0100 |
commit | 80b7c572215e4f7d2efabbe88a5669140d33834a (patch) | |
tree | 4020b23e4e32e52ce541d30b350cd19db387a03f /src/main.js | |
parent | a4a5b29550cbe75d4fd0ea4b0c1eed5687821f41 (diff) |
Add UI to reply to a post
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js index 79a1039e..f1059a7e 100644 --- a/src/main.js +++ b/src/main.js @@ -28,7 +28,7 @@ import store from './store' import router from './router' import vuetwemoji from 'vue-twemoji' import contenteditableDirective from 'vue-contenteditable-directive' - +import ClickOutside from 'vue-click-outside' sync(store, router) // CSP config for webpack dynamic chunk loading @@ -45,6 +45,7 @@ Vue.prototype.n = n Vue.prototype.OC = OC Vue.prototype.OCA = OCA +Vue.directive('ClickOutside', ClickOutside) Vue.use(contenteditableDirective) Vue.use(vuetwemoji, { baseUrl: OC.linkTo('social', 'img/'), // can set to local folder of emojis. default: https://twemoji.maxcdn.com/ |