Fix some minor syntax issues

This commit is contained in:
Aleks Rūtiņš 2024-12-22 22:31:50 -05:00
parent f464d585cc
commit d9281ad53c
2 changed files with 3 additions and 3 deletions

View file

@ -59,14 +59,14 @@ EOF
end
script {
"
unsafe_raw("
addEventListener('DOMContentLoaded', () => {
if(localStorage.getItem('faded'))
document.querySelectorAll('.fade').forEach(it =>
it.classList.add('no-delay'));
localStorage.setItem('faded', true);
});
"
")
}
end
end

View file

@ -4,7 +4,7 @@ module BC
module Views
class ChevronRightIcon < Phlex::SVG
def view_template
svg xmlns: 'http://www.w3.org/2000/svg', height: 24, width: 24, fill: "none", viewBox: "0 0 24 24 24", stroke_width: 1.5, stroke: "currentColor", class: "size-6" do
svg xmlns: 'http://www.w3.org/2000/svg', height: 24, width: 24, fill: "none", viewBox: "0 0 24 24", stroke_width: 1.5, stroke: "currentColor", class: "size-6" do
path font_weight: "bold", stroke_linecap: "round", stroke_linejoin: "round", d: "m8.25 4.5 7.5 7.5-7.5 7.5"
end
end