From 6abbb0c2e98e886688802b41fd84f99d27491a44 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Wed, 29 May 2019 23:09:28 +0200 Subject: [PATCH] removed conflict --- src/app/ui/tooltip.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/app/ui/tooltip.js b/src/app/ui/tooltip.js index c9265ebb1b0..b568326021f 100644 --- a/src/app/ui/tooltip.js +++ b/src/app/ui/tooltip.js @@ -25,8 +25,6 @@ class Toaster { } render (tooltipText, actionElement, opts) { opts = defaultOptions(opts) -<<<<<<< HEAD -<<<<<<< HEAD let canShorten = true if (tooltipText instanceof Element) { canShorten = false @@ -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 } } }