diff options
author | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-10-26 09:51:07 +0300 |
---|---|---|
committer | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-10-26 22:00:24 +0300 |
commit | 365d07ff6c481e604cd83425abe128eff3af70f0 (patch) | |
tree | 4d5e6946e97c86e26cb54972da97f41edfd02e9e /phpBB/adm/style/admin.js | |
parent | c23c64cb6d848382542fc5d50899f9a921ffe805 (diff) | |
download | forums-365d07ff6c481e604cd83425abe128eff3af70f0.tar forums-365d07ff6c481e604cd83425abe128eff3af70f0.tar.gz forums-365d07ff6c481e604cd83425abe128eff3af70f0.tar.bz2 forums-365d07ff6c481e604cd83425abe128eff3af70f0.tar.xz forums-365d07ff6c481e604cd83425abe128eff3af70f0.zip |
[ticket/11957] Responsive forms
PHPBB3-11957
Diffstat (limited to 'phpBB/adm/style/admin.js')
-rw-r--r-- | phpBB/adm/style/admin.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/phpBB/adm/style/admin.js b/phpBB/adm/style/admin.js index 385e49dc87..342859ce54 100644 --- a/phpBB/adm/style/admin.js +++ b/phpBB/adm/style/admin.js @@ -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() == ' ') { + $this.addClass('responsive-hide'); + } + + }); } /** |