no need for this code anymore

v1.18.x
psychobunny 10 years ago
parent d6757c1085
commit 9ae1675701

@ -26,7 +26,6 @@ define('forum/admin/footer', ['forum/admin/settings'], function(Settings) {
$(window).on('action:ajaxify.end', function(ev, data) {
var url = data.url;
setupPills();
selectMenuItem(data.url);
});
@ -67,14 +66,6 @@ define('forum/admin/footer', ['forum/admin/settings'], function(Settings) {
$('#breadcrumbs').html(caret + Array.prototype.slice.call(arguments).join(caret));
}
function setupPills() {
$('.navigation.nav-pills li').removeClass('active');
var slug = window.location.href.split('/');
slug = slug[slug.length-1];
$('.navigation.nav-pills [data-pill="' + slug + '"]').addClass('active');
}
function setupACPSearch() {
var menu = $('#acp-search .dropdown-menu');

Loading…
Cancel
Save