Remove inline JS
chrisma opened this issue · 0 comments
chrisma commented
Some views feature inline JS in <script>
tags which is hard to maintain, e.g. app/views/servers/_form.html.erb
.
- Search codebase for all uses of
<script>
in views - Check if JS is needed or if Bootstrap can help
- If needed: Move to separate JS file and trigger on
data-
attribute