aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-08-16 18:04:41 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-08-17 16:43:21 +0100
commit1d9e10e980e480196ba1a5f1a3bc450a06b78dde (patch)
treeb739300f295275bd2b586847373e7a87378cc894 /templates
parentd034f3c1447ea91cb4333365ce123d58deb2de0d (diff)
Fix replaced sidebar losing hover behaviour.
If the list was replaced by JavaScript, the event handlers were being dropped. Switch the handlers to the parent that remains present.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/front/recent.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/front/recent.html b/templates/web/base/front/recent.html
index cb83c51b8..1fe6ad2be 100644
--- a/templates/web/base/front/recent.html
+++ b/templates/web/base/front/recent.html
@@ -13,7 +13,7 @@
</h2>
<section class="full-width">
- <ul class="item-list item-list--reports item-list--front-page">
+ <ul id="js-reports-list" class="item-list item-list--reports item-list--front-page">
[% FOREACH problem IN recent_photos %]
[% INCLUDE 'front/_list-entry.html' %]
[% END %]