added missing file

v1.18.x
Julian Lam 10 years ago
parent c652d1b80e
commit 79083004e4

@ -0,0 +1,21 @@
'use strict';
/* globals define, app, socket, utils */
define('forum/account/groups', ['forum/account/header'], function(header) {
var AccountTopics = {};
AccountTopics.init = function() {
header.init();
var groupsEl = $('#groups-list');
groupsEl.on('click', '.list-cover', function() {
var groupSlug = $(this).parents('[data-slug]').attr('data-slug');
ajaxify.go('groups/' + groupSlug);
});
};
return AccountTopics;
});
Loading…
Cancel
Save