JAL-3746 JAL-3812 new argument ‘-nohtmltemplates’ and user preference ‘NOHTMLTEMPLATE...
authorJim Procter <jprocter@issues.jalview.org>
Fri, 5 Feb 2021 17:05:03 +0000 (17:05 +0000)
committerJim Procter <j.procter@dundee.ac.uk>
Fri, 4 Mar 2022 16:19:56 +0000 (16:19 +0000)
src/jalview/bin/Jalview.java

index d5eefe2..357f0e4 100755 (executable)
@@ -481,7 +481,11 @@ public class Jalview
           desktop.checkForNews();
         }
 
-        BioJsHTMLOutput.updateBioJS();
+        if (!aparser.contains("nohtmltemplates")
+              || Cache.getProperty("NOHTMLTEMPLATES") == null)
+        {
+          BioJsHTMLOutput.updateBioJS();
+        }
       }
     }