Minor tweaks.

This commit is contained in:
voussoir 2024-03-31 19:00:11 -07:00
parent 442e42c7ea
commit 95392bad2e
3 changed files with 3 additions and 2 deletions

View file

@ -105,6 +105,8 @@ textarea::placeholder
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
gap: 8px;
text-decoration: none;
} }
#content_body #content_body

View file

@ -111,8 +111,6 @@ h2:first-child
<button id="{{filt.id}}_update_button" class="set_actions_button button_with_spinner" data-spinner-text="⌛" onclick="return update_filter_form(event);">Update</button> <button id="{{filt.id}}_update_button" class="set_actions_button button_with_spinner" data-spinner-text="⌛" onclick="return update_filter_form(event);">Update</button>
<br/>
<button <button
class="red_button button_with_confirm" class="red_button button_with_confirm"
data-prompt="Delete filter?" data-prompt="Delete filter?"

View file

@ -1348,6 +1348,7 @@ function news_unread_indicator_click(event)
else else
{ {
api.news.set_read(news.dataset.id, false, callback); api.news.set_read(news.dataset.id, false, callback);
delete stored_news_objects[news.dataset.id];
mark_unread_and_propagate_unread_delta(news); mark_unread_and_propagate_unread_delta(news);
} }
event.stopPropagation(); event.stopPropagation();