Update mobile to jQuery 1.6.1.

This commit is contained in:
Max Goodman
2011-05-17 15:51:54 -07:00
committed by Max Goodman
parent 81c7705556
commit f685046d13
2 changed files with 3 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ function showcover() {
$(".login-popup:first").fadeIn()
.find(".popup").css("top", $(window).scrollTop() + 75).end()
.find(".cover").css("height", $(document).height()).end()
.find("form input[name=reason]").attr("value", (reason || ""));
.find("form input[name=reason]").val(reason || "");
return false;
}

View File

@@ -20,7 +20,7 @@
## CondeNet, Inc. All Rights Reserved.
################################################################################
<%!
from r2.lib.template_helpers import static
from r2.lib.template_helpers import static, external
%>
<%namespace file="utils.html" import="js_preamble"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -41,7 +41,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
${self.robots()}
<link rel="stylesheet" href="${static('compact.css')}" type="text/css" media="screen" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="${external('jquery.js')}" type="text/javascript"></script>
<script src="${static('jquery.json.js')}" type="text/javascript"></script>
<script src="${static('jquery.reddit.js')}" type="text/javascript"></script>
<script src="${static('reddit.js')}" type="text/javascript"></script>