Commit 180315a4 by Scott

Upgrade to jQuery 1.11.1

parent 08d1ebb6
...@@ -295,4 +295,4 @@ function set_category_description(idprefix) ...@@ -295,4 +295,4 @@ function set_category_description(idprefix)
n.innerHTML=desc; n.innerHTML=desc;
} }
} }
\ No newline at end of file
...@@ -168,10 +168,10 @@ function qa_ajax_post(operation, params, callback) ...@@ -168,10 +168,10 @@ function qa_ajax_post(operation, params, callback)
else else
callback([]); callback([]);
}, 'text').error(function(jqXHR) { if (jqXHR.readyState>0) callback([]) }); }, 'text').fail(function(jqXHR) { if (jqXHR.readyState>0) callback([]) });
} }
function qa_ajax_error() function qa_ajax_error()
{ {
alert('Unexpected response from server - please try again or switch off Javascript.'); alert('Unexpected response from server - please try again or switch off Javascript.');
} }
\ No newline at end of file
...@@ -273,4 +273,4 @@ function qa_form_params(formname) ...@@ -273,4 +273,4 @@ function qa_form_params(formname)
function qa_scroll_page_to(scroll) function qa_scroll_page_to(scroll)
{ {
$('html,body').animate({scrollTop: scroll}, 400); $('html,body').animate({scrollTop: scroll}, 400);
} }
\ No newline at end of file
...@@ -764,7 +764,7 @@ ...@@ -764,7 +764,7 @@
$qa_content['notices'][]=qa_notice_form('welcome', qa_opt('notice_welcome')); $qa_content['notices'][]=qa_notice_form('welcome', qa_opt('notice_welcome'));
} }
$qa_content['script_rel']=array('qa-content/jquery-1.7.2.min.js'); $qa_content['script_rel']=array('qa-content/jquery-1.11.1.min.js');
$qa_content['script_rel'][]='qa-content/qa-page.js?'.QA_VERSION; $qa_content['script_rel'][]='qa-content/qa-page.js?'.QA_VERSION;
if ($voting) if ($voting)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment