You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2018/10/17 05:41:01 UTC

[incubator-echarts] branch master updated: fix(tooltip): tooltip rich content hide bug ecomfe/echarts-for-weixin#360

This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/master by this push:
     new 7393f82  fix(tooltip): tooltip rich content hide bug ecomfe/echarts-for-weixin#360
     new 5b5a427  Merge branch 'master' of github.com:ecomfe/echarts
7393f82 is described below

commit 7393f826d22a91b4b94e7753660b6250572e33cc
Author: Ovilia <zw...@gmail.com>
AuthorDate: Wed Oct 17 13:40:21 2018 +0800

    fix(tooltip): tooltip rich content hide bug ecomfe/echarts-for-weixin#360
---
 src/component/tooltip/TooltipRichContent.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/component/tooltip/TooltipRichContent.js b/src/component/tooltip/TooltipRichContent.js
index 6f2b0f3..ab7c173 100644
--- a/src/component/tooltip/TooltipRichContent.js
+++ b/src/component/tooltip/TooltipRichContent.js
@@ -155,7 +155,9 @@ TooltipRichContent.prototype = {
     },
 
     hide: function () {
-        this.el.hide();
+        if (this.el) {
+            this.el.hide();
+        }
         this._show = false;
     },
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org