1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 08:17:47 +02:00

[ticket/11957] Responsive forms

PHPBB3-11957
This commit is contained in:
Vjacheslav Trushkin
2013-10-26 09:51:07 +03:00
parent c23c64cb6d
commit 365d07ff6c
2 changed files with 71 additions and 0 deletions

View File

@@ -133,6 +133,17 @@ function parse_document(container)
$(this).parent('table:first').addClass('responsive-hide');
}
});
/**
* Fieldsets with empty <span>
*/
container.find('fieldset dt > span:last-child').each(function() {
var $this = $(this);
if ($this.html() == '&nbsp;') {
$this.addClass('responsive-hide');
}
});
}
/**