phpBB

Code Changes

File: styles/prosilver/template/ajax.js

  Unmodified   Added   Modified   Removed
Line 26Line 26
	});

// Mark subforums read

	});

// 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) {


// Mark topics read if we are watching a category and showing active topics
if ($('#active_topics').length) {

Line 199Line 199
 */
phpbb.addAjaxCallback('vote_poll', function(res) {
if (typeof res.success !== 'undefined') {

 */
phpbb.addAjaxCallback('vote_poll', function(res) {
if (typeof res.success !== 'undefined') {

		var poll = $('.topic_poll');

		var poll = $(this).closest('.topic_poll');

		var panel = poll.find('.panel');
var resultsVisible = poll.find('dl:first-child .resultbar').is(':visible');
var mostVotes = 0;

		var panel = poll.find('.panel');
var resultsVisible = poll.find('dl:first-child .resultbar').is(':visible');
var mostVotes = 0;