From fcc75854449c5e690ae097a44d9efdbe98dc2595 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Tue, 23 Aug 2016 16:58:39 +0100 Subject: [PATCH] put jquery as first script in head tag --- services/web/app/views/layout.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/views/layout.jade b/services/web/app/views/layout.jade index f1bfeedfee..88fe4187fe 100644 --- a/services/web/app/views/layout.jade +++ b/services/web/app/views/layout.jade @@ -52,7 +52,6 @@ html(itemscope, itemtype='http://schema.org/Product') window.csrfToken = "#{csrfToken}"; block scripts - script(src=buildJsPath("libs/angular-1.3.15.min.js", {fingerprint:false})) script(src=buildJsPath("libs/jquery-1.11.1.min.js", {fingerprint:false})) script(type="text/javascript"). var noCdnKey = "nocdn=true" @@ -61,6 +60,7 @@ html(itemscope, itemtype='http://schema.org/Product') if (cdnBlocked && !noCdnAlreadyInUrl) { window.location.search += '&'+noCdnKey; } + script(src=buildJsPath("libs/angular-1.3.15.min.js", {fingerprint:false})) script. window.sharelatex = {