Skip to content

Commit

Permalink
removed conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
LianaHus committed May 29, 2019
1 parent fb4ca4d commit 6abbb0c
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/app/ui/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ class Toaster {
}
render (tooltipText, actionElement, opts) {
opts = defaultOptions(opts)
<<<<<<< HEAD
<<<<<<< HEAD
let canShorten = true
if (tooltipText instanceof Element) {
canShorten = false
Expand All @@ -39,21 +37,6 @@ class Toaster {
tooltipText = JSON.stringify(tooltipText)
} catch (e) {
}
=======
if (typeof (tooltipText) === 'object' && tooltipText.message !== undefined) {
tooltipText = tooltipText.message
}
=======
>>>>>>> 9211c21f... removed double implementation

if (typeof tooltipText === 'object') {
if (tooltipText.message) {
tooltipText = tooltipText.message
} else {
try {
tooltipText = JSON.stringify(tooltipText)
} catch (e) {
>>>>>>> c2943a2b... tandard
}
}
}
Expand Down

0 comments on commit 6abbb0c

Please sign in to comment.