1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11552] Better responsive post buttons

PHPBB3-11552
This commit is contained in:
Vjacheslav Trushkin
2013-10-20 11:50:47 +03:00
parent fef51d199b
commit 87194d6000
4 changed files with 63 additions and 2 deletions

View File

@@ -600,13 +600,13 @@ function insert_single_user(formId, user)
});
// Responsive link lists
$('.linklist:not(.navlinks, .skip-responsive)').each(function() {
$('.linklist:not(.navlinks, .skip-responsive), .postbody ul.profile-icons:not(.skip-responsive)').each(function() {
var $this = $(this),
$body = $('body'),
links = $this.children().not('.skip-responsive'),
html = '<li class="responsive-menu" style="display:none;"><a href="javascript:void(0);" class="responsive-menu-link">&nbsp;</a><ul class="responsive-popup" style="display:none;" /></li>',
// List of items that should be hidden last
filterString = '.pagination, .icon-notifications, .icon-pm, .icon-logout, .icon-login, .mark-read, .breadcrumbs',
filterString = '.pagination, .icon-notifications, .icon-pm, .icon-logout, .icon-login, .mark-read, .breadcrumbs, .edit-icon, .quote-icon',
filtered = links.filter(filterString);
if (links.is('.rightside'))