JAL-1859 jmolFindTarget not JmolFindTarget
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 4 Sep 2015 15:43:17 +0000 (16:43 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 4 Sep 2015 15:43:17 +0000 (16:43 +0100)
examples/javascript/jalview.js

index c33be19..0b7960b 100644 (file)
@@ -146,8 +146,7 @@ function linkJvJmol(applet, jmolView, modeltofiles) {
                var oldjm=jmolView;
                // recover full id of Jmol applet
 //             jmolView=_jmolGetApplet(jmolView).id; // Jmol 12.4
-               jmolView=JmolFindTarget(jmolView).id; // Jmol 14.2.14
-               alert("FoundTarget " + jmolView.id);
+               jmolView=jmolFindTarget(jmolView).id; // Jmol 14.2.14
                var jmbinding=_jvjmols.get(jmolView);
                if (!jmbinding)
                {