mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
merged from 1.9 :: MDL-12191 :: workaround with JavaScript to add "haslayouttabel" class to body.
This commit is contained in:
parent
8e0692399f
commit
3411f1b994
@ -14,6 +14,15 @@
|
||||
$('div.bb div,div.bt div').css('left','13px');
|
||||
}
|
||||
}
|
||||
|
||||
// check for layouttabel and add haslayouttable class to body
|
||||
// remove nocoursepage class from body
|
||||
var layoutTable = $('#layout-table');
|
||||
|
||||
if (layoutTable.length) {
|
||||
$('body').addClass('haslayouttable');
|
||||
$('body').removeClass('nocoursepage');
|
||||
}
|
||||
},
|
||||
|
||||
info: function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user