# CSS spécifique à la catégorie ne se rafraîchit pas sauf F5

**URL:** <https://meta.discourse.org/t/category-specific-css-not-refreshing-unless-f5/226596>\
**Category:** Bug\
**Created:** [Mai 9, 2022, 8:17 UTC](https://meta.discourse.org/t/category-specific-css-not-refreshing-unless-f5/226596 "2022-05-09T20:17:00Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [Juin 2, 2022, 3:35 UTC](https://meta.discourse.org/t/category-specific-css-not-refreshing-unless-f5/226596/13 "2022-06-02T15:35:07Z")

</div>

Cela devrait être corrigé dans ce commit, donc la prochaine fois que vous mettrez à jour Discourse, les classes de catégorie devraient être ajoutées/supprimées comme prévu.

> <https://github.com/discourse/discourse/commit/333c58dd05030cc413b5c3283f35d07b7ec3a67b>
>
> The server-side implementation had unintentionally changed to include \`-{id}\` at… the end of the body class name. This change meant that the JS client was unaware of the class, and didn't remove it when navigating away from the category page.
> 
> This commit fixes the server-side implementation to match the client

---

_[View the full topic](https://meta.discourse.org/t/category-specific-css-not-refreshing-unless-f5/226596)._
