1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 22:59:43 +02:00

improved tooltips

This commit is contained in:
Harvey Kandola 2017-09-19 09:21:51 +01:00
parent 6a651770b5
commit a86d52388e
4 changed files with 34 additions and 14 deletions

View file

@ -15,7 +15,7 @@ export default Ember.Mixin.create({
tooltips: [],
addTooltip(elem) {
if(elem == null) {
return;
}
@ -25,7 +25,13 @@ export default Ember.Mixin.create({
});
let tt = this.get('tooltips');
tt.push(t);
tt.push(t);
return t;
},
destroyTooltip(t) {
t.destroy();
},
destroyTooltips() {