From abc0147daa1dbbda02552bb8d5f946df87cec067 Mon Sep 17 00:00:00 2001 From: PayBas Date: Sat, 28 Jun 2014 13:47:41 +0200 Subject: [PATCH] [ticket/12662] Use data-last-responsive attr instead of hardcoded list PHPBB3-12662 --- phpBB/styles/prosilver/template/forum_fn.js | 2 +- phpBB/styles/prosilver/template/navbar_footer.html | 8 ++++---- phpBB/styles/prosilver/template/navbar_header.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index afc15139c0..2d35ff83a5 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -486,7 +486,7 @@ function parse_document(container) var $this = $(this), $body = $('body'), filterSkip = '.breadcrumbs, [data-skip-responsive]', - filterLast = '.pagination, .icon-faq, .icon-members, .icon-team, .icon-contact, .icon-subscribe, .mark-read, .edit-icon, .quote-icon', + filterLast = '.edit-icon, .quote-icon, [data-last-responsive]', persist = $this.attr('id') == 'nav-main', allLinks = $this.children(), links = allLinks.not(filterSkip), diff --git a/phpBB/styles/prosilver/template/navbar_footer.html b/phpBB/styles/prosilver/template/navbar_footer.html index e56b9e2978..65a7cdddba 100644 --- a/phpBB/styles/prosilver/template/navbar_footer.html +++ b/phpBB/styles/prosilver/template/navbar_footer.html @@ -8,18 +8,18 @@ -
  • {S_WATCH_FORUM_TITLE}
  • +
  • {S_WATCH_FORUM_TITLE}
  • {S_TIMEZONE}
  • {L_DELETE_COOKIES}
  • -
  • {L_MEMBERLIST}
  • +
  • {L_MEMBERLIST}
  • -
  • {L_THE_TEAM}
  • +
  • {L_THE_TEAM}
  • -
  • {L_CONTACT_US}
  • +
  • {L_CONTACT_US}
  • diff --git a/phpBB/styles/prosilver/template/navbar_header.html b/phpBB/styles/prosilver/template/navbar_header.html index 7a60446c69..bafb106282 100644 --- a/phpBB/styles/prosilver/template/navbar_header.html +++ b/phpBB/styles/prosilver/template/navbar_header.html @@ -34,7 +34,7 @@
  • {L_MCP_SHORT}
  • -
  • data-skip-responsive="true">{L_FAQ}
  • +
  • data-skip-responsive="true"data-last-responsive="true">{L_FAQ}