From 853cdaf827241e4bf51d9a1fef32a395cb72cf45 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 5 Feb 2021 17:05:03 +0000 Subject: [PATCH] =?utf8?q?JAL-3746=20JAL-3812=20new=20argument=20=E2=80=98-n?= =?utf8?q?ohtmltemplates=E2=80=99=20and=20user=20preference=20=E2=80=98NOHTM?= =?utf8?q?LTEMPLATES=E2=80=99=20to=20disable=20download=20of=20templates=20f?= =?utf8?q?rom=20GitHub=20repository?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/bin/Jalview.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index d5eefe2..357f0e4 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -481,7 +481,11 @@ public class Jalview desktop.checkForNews(); } - BioJsHTMLOutput.updateBioJS(); + if (!aparser.contains("nohtmltemplates") + || Cache.getProperty("NOHTMLTEMPLATES") == null) + { + BioJsHTMLOutput.updateBioJS(); + } } } -- 1.7.10.2