From ac753bb4f4b4270183b39679fb3cc4da2af07634 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 16 Sep 2015 12:56:17 +0100 Subject: [PATCH] JAL-1859 working variable to aid inspection in debugger --- examples/javascript/jalview.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/javascript/jalview.js b/examples/javascript/jalview.js index 7172948..1c1f1c2 100644 --- a/examples/javascript/jalview.js +++ b/examples/javascript/jalview.js @@ -318,10 +318,8 @@ function _jmolhover(jmid, atomlabel, atomidx) { } // use atomlabel[5] to look up model filename so we can highlight associated positions in any jalviews for (ap in _jvapps) { - _jvapps[ap].mouseOverStructure(atomlabel[2], atomlabel[3], - getDocumentBase() - + "/" + - modeltofiles[atomlabel[5]]); + pdb = getDocumentBase() + modeltofiles[atomlabel[5]]; + _jvapps[ap].mouseOverStructure(atomlabel[2], atomlabel[3], pdb); msg = _jmolhovermsg; } } -- 1.7.10.2