changeset 58:08bd1378bf43 draft

planemo upload for repository https://github.com/Yating-L/jbrowse_hub commit a505d6c97db9d044761b5ce92be4a39cb84eda29-dirty
author yating-l
date Fri, 31 Mar 2017 17:06:55 -0400
parents f9efad381948
children caf649fc310b
files TrackHub.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/TrackHub.py	Fri Mar 31 16:55:58 2017 -0400
+++ b/TrackHub.py	Fri Mar 31 17:06:55 2017 -0400
@@ -107,7 +107,7 @@
         with open(self.outfile, 'w') as htmlfile:
             htmlstr = 'The JBrowse Hub is created: <br>'
             zipfiles = '<li><a href = "%s">Download</a></li>'
-            jbrowse_hub = '<li><a href = "/JBrowse-1.12.1/index.html?data=%s" target="_blank" onclick="javascript:window.location.port=80">View JBrowse Hub</a></li>'
+            jbrowse_hub = '<li><a href = "/JBrowse-1.12.1/index.html?data=%s" target="_blank" onclick="javascript:event.target.port=80">View JBrowse Hub</a></li>'
             filedir_abs = os.path.abspath(self.outfile)
             filedir = os.path.dirname(filedir_abs)
             filedir = os.path.join(filedir, self.outfolder)