mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-22 00:49:23 -04:00
The diffDOM Javascript sometimes throws an error if it can’t calculate a diff between the original content of the page and the updated HTML delivered via AJAX. The problem seems to be when there’s not one, consistent top-level element for it to base its calculations on. This commit: - makes sure that all AJAX-delivered partials have a wrapping `<div>` - that this `<div>` has a consistent class name to make it clear why it’s there
6 lines
166 B
HTML
6 lines
166 B
HTML
{% from "components/pill.html" import pill %}
|
|
|
|
<div class="bottom-gutter ajax-block-container">
|
|
{{ pill('Status', counts, request.args.get('status', '')) }}
|
|
</div>
|