From 1b81f3eea67f7c8b6338e4e5faf88861ffd445ce Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Sun, 26 Apr 2015 15:49:53 +0100 Subject: [PATCH] Load jQuery for HTTP and HTTPS --- views/layout.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/layout.haml b/views/layout.haml index bb7146e..c9dd89b 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -8,7 +8,7 @@ %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/print.css', :media => 'print' } %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/grid.css' } - %script{:type => 'text/javascript', :src => 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'} + %script{:type => 'text/javascript', :src => '//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'} %script{:type => 'text/javascript', :src => '/js/jquery.cookie.js'} - if SETTING.google_analytics_id