From: gmungoc Date: Wed, 16 Sep 2015 11:56:17 +0000 (+0100) Subject: JAL-1859 working variable to aid inspection in debugger X-Git-Tag: Release_2_10_0~406 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ac753bb4f4b4270183b39679fb3cc4da2af07634;p=jalview.git JAL-1859 working variable to aid inspection in debugger --- 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; } }