From: Jack Allnutt Date: Wed, 28 Sep 2011 07:58:39 +0000 (+0100) Subject: Use protocol-relative URLs for loading external scripts (i.e. jQuery) so all resource... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a769e46cc0a3cfa0c368a4924395b8819b839725;p=KiwiIRC.git Use protocol-relative URLs for loading external scripts (i.e. jQuery) so all resources are loaded over SSL when enabled --- diff --git a/node/client/index.html.jade b/node/client/index.html.jade index 4b9fc2d..a59c171 100644 --- a/node/client/index.html.jade +++ b/node/client/index.html.jade @@ -101,8 +101,8 @@ html(lang="en-gb") a.reload_css Reload CSS script(type="text/javascript", src="/socket.io/socket.io.js") - script(type="text/javascript", src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js") - script(type="text/javascript", src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js") + script(type="text/javascript", src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js") + script(type="text/javascript", src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js") script(type="text/javascript", src="/js/jquery.json-2.2.min.js") - if (debug)