From 0ae59f7314fe161245462b8cabba5d4e1988853f Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 6 Oct 2015 14:10:43 +0100 Subject: Improve item list CSS. Generally, a rewrite of issue-list-a to item-list--reports or item-list--wards (two different uses) and issue-list to item-list--updates, with subsequent renames/changes to children. For those cobrands using a different list showing a pin icon, use item-list__item--with-pin to stop needing to override existing classes. Fix a variety of niggling issues e.e ward list display, or overloading of the .text class. --- web/js/moderate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/js') diff --git a/web/js/moderate.js b/web/js/moderate.js index dd366df3f..0be3cca8d 100644 --- a/web/js/moderate.js +++ b/web/js/moderate.js @@ -38,5 +38,5 @@ function setup_moderation (elem, word) { $(function () { setup_moderation( $('.problem-header'), 'problem' ); - setup_moderation( $('.issue-list .issue'), 'update' ); + setup_moderation( $('.item-list__item--updates'), 'update' ); }); -- cgit v1.2.3