You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2020/06/22 07:00:54 UTC

[incubator-echarts] branch fix-12841 created (now e73aab0)

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

wangzx pushed a change to branch fix-12841
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


      at e73aab0  fix(title): incorrect redirect when sublink is clicked.

This branch includes the following new commits:

     new e73aab0  fix(title): incorrect redirect when sublink is clicked.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[incubator-echarts] 01/01: fix(title): incorrect redirect when sublink is clicked.

Posted by wa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit e73aab07ad89f0be04f6cbcd4dae3e134c2ff8bf
Author: Zhongxiang.Wang <yh...@all-my-life.cn>
AuthorDate: Mon Jun 22 14:56:34 2020 +0800

    fix(title): incorrect redirect when sublink is clicked.
    
    fixed the bug #12841, which was brought by #12380.
---
 src/component/title.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/component/title.js b/src/component/title.js
index 94a30a2..e1a8da7 100644
--- a/src/component/title.js
+++ b/src/component/title.js
@@ -149,7 +149,7 @@ echarts.extendComponentView({
         }
         if (sublink) {
             subTextEl.on('click', function () {
-                windowOpen(link, '_' + titleModel.get('subtarget'));
+                windowOpen(sublink, '_' + titleModel.get('subtarget'));
             });
         }
 
@@ -233,4 +233,4 @@ echarts.extendComponentView({
 
         group.add(rect);
     }
-});
\ No newline at end of file
+});


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