Toggle support section button

pull/1/head
David Benqué 4 years ago
parent e936045b7d
commit 54d46015de

@ -593,8 +593,10 @@ define([
$col.toggleClass('cp-support-column-collapsed'); $col.toggleClass('cp-support-column-collapsed');
if ($col.hasClass('cp-support-column-collapsed')) { if ($col.hasClass('cp-support-column-collapsed')) {
$(this).text(Messages.admin_support_open); $(this).text(Messages.admin_support_open);
$(this).toggleClass('btn-primary');
} else { } else {
$(this).text(Messages.admin_support_collapse); $(this).text(Messages.admin_support_collapse);
$(this).toggleClass('btn-primary');
} }
}); });
var category = 'all'; var category = 'all';

Loading…
Cancel
Save