]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/page.footer.html
Added option to disable jQuery and heavy javascript
[github/shaarli/Shaarli.git] / tpl / page.footer.html
index 7fe15017d948772c37e8f4e8aec84e348e7eac22..13b566ae47794811a13ead5a03b4d56286fb203f 100644 (file)
@@ -8,7 +8,7 @@
 <script language="JavaScript">function confirmDeleteLink() { var agree=confirm("Are you sure you want to delete this link ?"); if (agree) return true ; else return false ; }</script>
 {/if}
 
-{if="$GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()"}
+{if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"}
 <script language="JavaScript">
 $(document).ready(function()
 {