|
|
|
@ -25,6 +25,7 @@ class Toaster { |
|
|
|
|
} |
|
|
|
|
render (tooltipText, actionElement, opts) { |
|
|
|
|
opts = defaultOptions(opts) |
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
let canShorten = true |
|
|
|
|
if (tooltipText instanceof Element) { |
|
|
|
@ -42,6 +43,8 @@ class Toaster { |
|
|
|
|
if (typeof (tooltipText) === 'object' && tooltipText.message !== undefined) { |
|
|
|
|
tooltipText = tooltipText.message |
|
|
|
|
} |
|
|
|
|
======= |
|
|
|
|
>>>>>>> 9211c21f... removed double implementation |
|
|
|
|
|
|
|
|
|
if (typeof tooltipText === 'object') { |
|
|
|
|
if (tooltipText.message) { |
|
|
|
|