mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-33317 Theme: added jQuery noConflict to myMobile
This commit is contained in:
parent
4db061680e
commit
4988b54667
@ -156,6 +156,7 @@ if ($thisdevice == "default" || $thisdevice == "tablet" || optional_param('mymob
|
||||
// Add the required JavaScript to the page
|
||||
$THEME->javascripts = array(
|
||||
'jquery-1.6.4.min',
|
||||
'jquery-noconflict',
|
||||
'custom',
|
||||
'jquery.mobile-1.0',
|
||||
'scrollview',
|
||||
|
1
theme/mymobile/javascript/jquery-noconflict.js
vendored
Normal file
1
theme/mymobile/javascript/jquery-noconflict.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
jQuery.noConflict();
|
@ -36,6 +36,7 @@ if ($showswatch == "light") {
|
||||
$databodytheme = 'c';
|
||||
}
|
||||
$mypagetype = $PAGE->pagetype;
|
||||
$bodyclasses = array();
|
||||
|
||||
echo $OUTPUT->doctype() ?>
|
||||
<html <?php echo $OUTPUT->htmlattributes() ?>>
|
||||
|
Loading…
x
Reference in New Issue
Block a user