1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

new UX for category management

This commit is contained in:
Harvey Kandola 2017-11-27 15:38:39 +00:00
parent 1c08a7fbcf
commit 1f0fc844a8
29 changed files with 287 additions and 397 deletions

View file

@ -10,9 +10,21 @@
// https://documize.com
import Mixin from '@ember/object/mixin';
import { schedule } from '@ember/runloop';
export default Mixin.create({
tooltips: [],
tooltips: [],
renderTooltips() {
schedule('afterRender', () => {
$('[data-toggle="tooltip"]').tooltip('dispose');
$('body').tooltip({selector: '[data-toggle="tooltip"]', delay: 250});
});
},
removeTooltips() {
$('[data-toggle="tooltip"]').tooltip('dispose');
},
addTooltip(elem) {
if (elem == null) {