pull/1/head
LianaHus 6 years ago
parent 2f230ccb40
commit b082b04dcf
  1. 4
      src/app/ui/tooltip.js

@ -23,7 +23,7 @@ class Toaster {
}, 2000)
animation(this.tooltip, css.animateTop.className)
}
render (tooltipText, action, opts) {
render (tooltipText, actionElement, opts) {
opts = defaultOptions(opts)
let canShorten = true
if (tooltipText instanceof Element) {
@ -53,7 +53,7 @@ class Toaster {
<span class="px-2">
${shortTooltipText}
${button}
${action}
${actionElement}
</span>
<span style="align-self: baseline;">
<button class="fas fa-times btn-info mx-1 p-0" onclick=${() => {

Loading…
Cancel
Save