Move word counting javascript to the page

It really does not need to run on every page load...
This commit is contained in:
Henne Vogelsang 2024-03-05 15:32:14 +01:00
parent c63ed43825
commit 30bc21c96a
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
3 changed files with 26 additions and 24 deletions

View file

@ -45,6 +45,7 @@ linters:
- "app/views/layouts/_admin_sidebar.html.haml"
- "app/views/proposals/index.html.haml"
- "app/views/proposals/show.html.haml"
- "app/views/proposals/_form.html.haml"
# Offense count: 28
IdNames:
@ -145,4 +146,4 @@ linters:
# Offense count: 1
FinalNewline:
exclude:
- "app/views/layouts/_admin.html.haml"
- "app/views/layouts/_admin.html.haml"