Replace fomantic popup module with tippy.js (#20428)
- replace fomantic popup module with tippy.js - fix chaining and add comment - add 100ms delay to tooltips - stopwatch improvments, raise default maxWidth - update web_src/js/features/common-global.js - use type=submit instead of js
This commit is contained in:
parent
36f9ee5813
commit
1b2cd4c4e1
28 changed files with 199 additions and 2129 deletions
|
@ -1,6 +1,7 @@
|
|||
import Vue from 'vue';
|
||||
import $ from 'jquery';
|
||||
import {initVueSvg, vueDelimiters} from './VueComponentLoader.js';
|
||||
import {initTooltip} from '../modules/tippy.js';
|
||||
|
||||
const {appSubUrl, assetUrlPrefix, pageData} = window.config;
|
||||
|
||||
|
@ -138,7 +139,9 @@ function initVueComponents() {
|
|||
|
||||
mounted() {
|
||||
this.changeReposFilter(this.reposFilter);
|
||||
$(this.$el).find('.tooltip').popup();
|
||||
for (const el of this.$el.querySelectorAll('.tooltip')) {
|
||||
initTooltip(el);
|
||||
}
|
||||
$(this.$el).find('.dropdown').dropdown();
|
||||
this.setCheckboxes();
|
||||
Vue.nextTick(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue