aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/moderate.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-10-06 14:10:43 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2015-10-09 16:58:53 +0100
commit0ae59f7314fe161245462b8cabba5d4e1988853f (patch)
tree84ad3038c6e523c4433a56b69f491059e63de3d8 /web/js/moderate.js
parent50b8576284de8ebb1fc59bdeb4b6f98e58358333 (diff)
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.
Diffstat (limited to 'web/js/moderate.js')
-rw-r--r--web/js/moderate.js2
1 files changed, 1 insertions, 1 deletions
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' );
});