mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Added animation to tooltip "copied!"
This commit is contained in:
parent
4bfa727e9e
commit
08ee969445
1 changed files with 4 additions and 4 deletions
|
@ -329,8 +329,8 @@ BlazeComponent.extendComponent({
|
|||
if (promise) {
|
||||
promise.then(() => {
|
||||
const $tooltip = this.$('span.copied-tooltip');
|
||||
$tooltip.css('display', 'inline');
|
||||
setTimeout(() => $tooltip.css('display', 'none'), 1000);
|
||||
$tooltip.show(100);
|
||||
setTimeout(() => $tooltip.hide(100), 1000);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
@ -1079,8 +1079,8 @@ BlazeComponent.extendComponent({
|
|||
if (promise) {
|
||||
promise.then(() => {
|
||||
const $tooltip = this.$('.copied-tooltip');
|
||||
$tooltip.css('display', 'inline');
|
||||
setTimeout(() => $tooltip.css('display', 'none'), 1000);
|
||||
$tooltip.show(100);
|
||||
setTimeout(() => $tooltip.hide(100), 1000);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue