Fix hover for tooltip
This commit is contained in:
parent
56558e1783
commit
005656d0f2
@ -11,11 +11,11 @@ function openExternalLink() {
|
||||
function setClipboardJS(element){
|
||||
var clipboard = new ClipboardJS(element);
|
||||
clipboard.on('success', function(e) {
|
||||
e.clearSelection();
|
||||
$(element).tooltip({
|
||||
content: $(element).data('label-copied')
|
||||
});
|
||||
setTimeout(function() {
|
||||
e.clearSelection();
|
||||
$(element).tooltip({
|
||||
content: $(element).data('label-to-copy')
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user