mirror of
https://github.com/moodle/moodle.git
synced 2025-07-24 07:41:40 +02:00
themes MDL-22358 Renamed sideblock class to block
This commit is contained in:
@@ -1048,7 +1048,7 @@ function fix_column_width(colName) {
|
||||
var nodes = column.childNodes;
|
||||
|
||||
for(i = 0; i < nodes.length; ++i) {
|
||||
if(nodes[i].className.indexOf("sideblock") != -1 ) {
|
||||
if(nodes[i].className.indexOf("block") != -1 ) {
|
||||
if(width < nodes[i].offsetWidth) {
|
||||
width = nodes[i].offsetWidth;
|
||||
}
|
||||
@@ -1056,7 +1056,7 @@ function fix_column_width(colName) {
|
||||
}
|
||||
|
||||
for(i = 0; i < nodes.length; ++i) {
|
||||
if(nodes[i].className.indexOf("sideblock") != -1 ) {
|
||||
if(nodes[i].className.indexOf("block") != -1 ) {
|
||||
nodes[i].style.width = width + 'px';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user