aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-10-23 15:21:07 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-10-24 18:36:17 +0300
commitc2f5ab3c6bdafff7fef982ee3dc414c452073c61 (patch)
tree00361df445faf1b2eb70a074b9f278e48fddcb43 /phpBB/styles/prosilver
parent11157e4f033d9fe1e241a4ff13e2ad8516024d5e (diff)
downloadforums-c2f5ab3c6bdafff7fef982ee3dc414c452073c61.tar
forums-c2f5ab3c6bdafff7fef982ee3dc414c452073c61.tar.gz
forums-c2f5ab3c6bdafff7fef982ee3dc414c452073c61.tar.bz2
forums-c2f5ab3c6bdafff7fef982ee3dc414c452073c61.tar.xz
forums-c2f5ab3c6bdafff7fef982ee3dc414c452073c61.zip
[ticket/11956] Change .skip-responsive to data attribute
PHPBB3-11956
Diffstat (limited to 'phpBB/styles/prosilver')
-rw-r--r--phpBB/styles/prosilver/template/forum_fn.js10
-rw-r--r--phpBB/styles/prosilver/template/overall_header.html2
2 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 9c1d860e98..b46a2baaf5 100644
--- a/phpBB/styles/prosilver/template/forum_fn.js
+++ b/phpBB/styles/prosilver/template/forum_fn.js
@@ -471,7 +471,7 @@ function parse_document(container)
/**
* Makes breadcrumbs responsive
*/
- container.find('.breadcrumbs:not(.skip-responsive)').each(function() {
+ container.find('.breadcrumbs:not([data-skip-responsive])').each(function() {
var $this = $(this),
$body = $('body'),
links = $this.find('.crumb'),
@@ -723,10 +723,10 @@ function parse_document(container)
/**
* Responsive link lists
*/
- container.find('.linklist:not(.navlinks, .skip-responsive), .postbody ul.profile-icons:not(.skip-responsive)').each(function() {
+ container.find('.linklist:not(.navlinks, [data-skip-responsive]), .postbody ul.profile-icons:not([data-skip-responsive])').each(function() {
var $this = $(this),
$body = $('body'),
- filterSkip = '.breadcrumbs, .skip-responsive',
+ filterSkip = '.breadcrumbs, [data-skip-responsive]',
filterLast = '.pagination, .icon-notifications, .icon-pm, .icon-logout, .icon-login, .mark-read, .edit-icon, .quote-icon',
allLinks = $this.children(),
links = allLinks.not(filterSkip),
@@ -862,11 +862,11 @@ function parse_document(container)
/**
* Responsive tabs
*/
- container.find('#tabs, #minitabs').not('.skip-responsive').each(function() {
+ container.find('#tabs, #minitabs').not('[data-skip-responsive]').each(function() {
var $this = $(this),
$body = $('body'),
ul = $this.children(),
- tabs = ul.children().not('.skip-responsive'),
+ tabs = ul.children().not('[data-skip-responsive]'),
links = tabs.children('a'),
toggle = ul.append('<li class="responsive-tab" style="display:none;"><a href="javascript:void(0);" class="responsive-tab-link"><span>&nbsp;</span></a><ul class="responsive-tabs" style="display:none;" /></li>').find('li.responsive-tab'),
toggleLink = toggle.find('a.responsive-tab-link'),
diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html
index 3ef264259f..abe79e3808 100644
--- a/phpBB/styles/prosilver/template/overall_header.html
+++ b/phpBB/styles/prosilver/template/overall_header.html
@@ -100,7 +100,7 @@
<ul class="linklist bulletin">
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<!-- IF S_NOTIFICATIONS_DISPLAY -->
- <li class="icon-notification skip-responsive">
+ <li class="icon-notification" data-skip-responsive="true">
<a href="{U_VIEW_ALL_NOTIFICATIONS}" id="notification_list_button"><span>{L_NOTIFICATIONS} [</span><strong>{NOTIFICATIONS_COUNT}</strong><span>]</span></a>
<div id="notification_list" class="notification_list">
<div class="popup-pointer"><div class="popup-pointer-inner"></div></div>