From 246e9b4e37cf85a04f52a22a61a4e705d51f96b4 Mon Sep 17 00:00:00 2001 From: Sebastien SAUVAGE Date: Wed, 25 Sep 2013 21:27:50 +0200 Subject: Removed jQuery from almost all pages jQuery has been removed from all pages, except those who really require it (like autocomplete in link edition). Immediate gain: All pages weight 286 kb LESS ! \o/ Highlighting in search results has also been temporarly removed (and will be re-implemented). --- tpl/editlink.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tpl/editlink.html') diff --git a/tpl/editlink.html b/tpl/editlink.html index ad549137..4a2c30cc 100644 --- a/tpl/editlink.html +++ b/tpl/editlink.html @@ -1,6 +1,8 @@ -{include="includes"} +{include="includes"} +{if="empty($GLOBALS['disablejquery'])"}{/if} + {include="page.footer"} +{if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"} + +{/if} \ No newline at end of file -- cgit v1.2.3