X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=examples%2Fjavascript%2Fjalview.js;h=6a7133e66d0bf204013f42dc768d6d3299d5ea1b;hb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;hp=7995ddb787a766958c851102572ac3ec8e5614a0;hpb=17e77c3f2949a0729322b4a8d907f3f34b6a9914;p=jalview.git diff --git a/examples/javascript/jalview.js b/examples/javascript/jalview.js index 7995ddb..6a7133e 100644 --- a/examples/javascript/jalview.js +++ b/examples/javascript/jalview.js @@ -1,5 +1,5 @@ /** - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9) + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2) * Copyright (C) 2015 The Jalview Authors * * This file is part of Jalview. @@ -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; } }