mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 10:14:29 -07:00
Fix #1570
This commit is contained in:
@@ -152,11 +152,13 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
});
|
||||
}
|
||||
|
||||
new Clipboard('.bd-copy', {
|
||||
target: function(trigger) {
|
||||
return trigger.previousSibling;
|
||||
}
|
||||
});
|
||||
setTimeout(() => {
|
||||
new Clipboard('.bd-copy', {
|
||||
target: trigger => {
|
||||
return trigger.previousElementSibling.firstElementChild;
|
||||
}
|
||||
});
|
||||
}, 100);
|
||||
|
||||
// Functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user