Created
December 4, 2017 22:38
-
-
Save hanakin/eb5da7e6039776120e8fe79068b66497 to your computer and use it in GitHub Desktop.
3.1.11-3.2.1_js_changes.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js | |
index ec9b53328..6903ad226 100644 | |
--- a/phpBB/styles/prosilver/template/ajax.js | |
+++ b/phpBB/styles/prosilver/template/ajax.js | |
@@ -26,7 +26,7 @@ phpbb.addAjaxCallback('mark_forums_read', function(res) { | |
}); | |
// Mark subforums read | |
- $('a.subforum[class*="unread"]').removeClass('unread').addClass('read'); | |
+ $('a.subforum[class*="unread"]').removeClass('unread').addClass('read').children('.icon.icon-red').removeClass('icon-red').addClass('icon-blue'); | |
// Mark topics read if we are watching a category and showing active topics | |
if ($('#active_topics').length) { | |
@@ -87,7 +87,7 @@ phpbb.addAjaxCallback('mark_topics_read', function(res, updateTopicLinks) { | |
}); | |
// Remove link to first unread post | |
- $('a').has('span.icon_topic_newest').remove(); | |
+ $('a.unread').has('.icon-red').remove(); | |
// Update mark topics read links | |
if (updateTopicLinks) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment