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

This commit is contained in:
urs_hunkler
2007-11-15 12:06:34 +00:00
parent f545230234
commit 3941cc43f1
+9
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() {