1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/11957] Responsive forums list

PHPBB3-11957
This commit is contained in:
Vjacheslav Trushkin
2013-10-26 11:01:23 +03:00
parent 10f0c8b333
commit b107b4c0e2
3 changed files with 48 additions and 10 deletions

View File

@@ -51,12 +51,7 @@ function parse_document(container)
// Find columns
$this.find('colgroup:first').children().each(function(i) {
var column = $(this);
if (column.hasClass('col1')) {
$this.find('td:nth-child(' + (i + 1) + ')').addClass('col1');
}
if (column.hasClass('col2')) {
$this.find('td:nth-child(' + (i + 1) + ')').addClass('col2');
}
$this.find('td:nth-child(' + (i + 1) + ')').addClass(column.prop('className'));
});
// Find each header