X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FPlatform.java;h=bb0c1b66784c3fb0f6221557e84496f8ebe88da8;hb=refs%2Fheads%2FJalview-JS%2Fbug%2FJAL-3762_URLparamsOverrideInfoArg;hp=04a9bbc6d9c23d359c4ec71d39a058db7fa2dd39;hpb=6d0cffe0f723543ba4f812122ad14d468824c998;p=jalview.git diff --git a/src/jalview/util/Platform.java b/src/jalview/util/Platform.java index 04a9bbc..bb0c1b6 100644 --- a/src/jalview/util/Platform.java +++ b/src/jalview/util/Platform.java @@ -609,9 +609,9 @@ public class Platform * * @j2sNative var a = * decodeURI((document.location.href.replace("&","?").split("?j2s")[0] - * + "?").split("?")[1].split("#")[0]); a && (System.out.println("URL arguments detected were "+a) && - * (J2S.thisApplet.__Info.urlargs = a.split(" ")) - * (!!J2S.thisApplet.__Info.args || J2S.thisApplet.__Info.args == "" || J2S.thisApplet.__Info.args == "??") && (J2S.thisApplet.__Info.args = a) && (System.out.println("URL arguments were passed to J2S main."); + * + "?").split("?")[1].split("#")[0]); a && (System.out.println("URL arguments detected were "+a)) && + * (J2S.thisApplet.__Info.urlargs = a.split(" ")); + * (!J2S.thisApplet.__Info.args || J2S.thisApplet.__Info.args == "" || J2S.thisApplet.__Info.args == "??") && (J2S.thisApplet.__Info.args = a) && (System.out.println("URL arguments were passed to J2S main.")); */ } catch (Throwable t) {