merged from 1.9 :: MDL-12191 :: workaround with JavaScript to add "haslayouttabel" class to body.

This commit is contained in:
urs_hunkler 2007-11-15 12:21:09 +00:00
parent 8e0692399f
commit 3411f1b994

View File

@ -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() {