Commit cfb12b79 by Scott

Upgrade jQuery to 3.2.1

parent dbbb042a
......@@ -329,7 +329,7 @@ function qa_output_content($qa_content)
if (isset($qa_content['script_onloads'])) {
$script[] = '<script>';
$script[] = '$(window).load(function() {';
$script[] = '$(window).on(\'load\', function() {';
foreach ($qa_content['script_onloads'] as $scriptonload) {
foreach ((array)$scriptonload as $scriptline) {
......@@ -790,7 +790,7 @@ function qa_content_prepare($voting = false, $categoryids = null)
}
}
$qa_content['script_rel'] = array('qa-content/jquery-1.11.3.min.js');
$qa_content['script_rel'] = array('qa-content/jquery-3.2.1.min.js');
$qa_content['script_rel'][] = 'qa-content/qa-global.js?' . QA_VERSION;
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