JAL-3746 JAL-3812 new argument ‘-nohtmltemplates’ and user preference ‘NOHTMLTEMPLATE...
[jalview.git] / 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();
+        }
       }
     }