You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
374 B
JavaScript
20 lines
374 B
JavaScript
'use strict';
|
|
|
|
/* globals define, app, socket*/
|
|
|
|
define('forum/popular', ['forum/recent', 'forum/infinitescroll'], function(recent, infinitescroll) {
|
|
var Popular = {};
|
|
|
|
Popular.init = function() {
|
|
app.enterRoom('recent_posts');
|
|
|
|
$('#new-topics-alert').on('click', function() {
|
|
$(this).addClass('hide');
|
|
});
|
|
|
|
recent.selectActivePill();
|
|
};
|
|
|
|
return Popular;
|
|
});
|