From eda346e283a5658c3d6879d30166b4e18055adc0 Mon Sep 17 00:00:00 2001 From: danielvincent Date: Wed, 17 Nov 2010 22:36:01 -0800 Subject: [PATCH] use google's jquery within current protocol (http/https) --- app/views/layouts/application.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 05040dfdd..c7a63a2ed 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -24,7 +24,7 @@ = include_stylesheets :default, :media => 'all' - = javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" + = javascript_include_tag "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" :javascript !window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.4.4.js"%3E%3C/script%3E'))