Force defaultHtml setting of v-tooltip to be disabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
48b271a216
commit
10ce9c6878
|
@ -21,15 +21,15 @@
|
|||
*/
|
||||
|
||||
import Vue from 'vue';
|
||||
import { PopoverMenu } from 'nextcloud-vue';
|
||||
import { Tooltip, PopoverMenu } from 'nextcloud-vue';
|
||||
import ClickOutside from 'vue-click-outside';
|
||||
import { VTooltip } from 'v-tooltip';
|
||||
|
||||
Vue.prototype.t = t;
|
||||
|
||||
Vue.component('PopoverMenu', PopoverMenu);
|
||||
Vue.directive('ClickOutside', ClickOutside);
|
||||
Vue.directive('Tooltip', VTooltip);
|
||||
Tooltip.options.defaultHtml = false
|
||||
Vue.directive('Tooltip', Tooltip);
|
||||
|
||||
import View from './views/CollaborationView';
|
||||
|
||||
|
|
|
@ -96,6 +96,8 @@
|
|||
import { VTooltip } from 'v-tooltip';
|
||||
import ClickOutside from 'vue-click-outside';
|
||||
|
||||
VTooltip.options.defaultHtml = false
|
||||
|
||||
export default {
|
||||
name: 'root',
|
||||
components: {
|
||||
|
|
|
@ -28,7 +28,7 @@ import App from './App.vue';
|
|||
import router from './router';
|
||||
import store from './store';
|
||||
|
||||
Vue.use(VTooltip);
|
||||
Vue.use(VTooltip, { defaultHtml: false });
|
||||
|
||||
sync(store, router);
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ import AuthTokenSection from './components/AuthTokenSection';
|
|||
__webpack_nonce__ = btoa(OC.requestToken);
|
||||
|
||||
Vue.use(VueClipboard);
|
||||
Vue.use(VTooltip);
|
||||
Vue.use(VTooltip, { defaultHtml: false });
|
||||
Vue.prototype.t = t;
|
||||
|
||||
const View = Vue.extend(AuthTokenSection);
|
||||
|
|
Loading…
Reference in New Issue