Skip to content

Commit

Permalink
script.js loaded only if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Simounet committed Apr 15, 2021
1 parent 5a4486f commit 1b830ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
<meta name="msapplication-TileImage" content="images/favicons/mstile-144x144.png">
<meta name="theme-color" content="#424242">
<script src="js/jquery.min.js"></script>
<script src="js/script.js"></script>
{if="($myUser!=false) || ($configurationManager->get('articleDisplayAnonymous')=='1')"}
<script src="js/script.js"></script>
{/if}
{function="Plugin::callJs()"}
</head>
<body data-anonymous-state="{$configurationManager->get('articleDisplayAnonymous')}">
Expand Down

0 comments on commit 1b830ad

Please sign in to comment.