Fix some minor syntax issues
This commit is contained in:
parent
f464d585cc
commit
d9281ad53c
2 changed files with 3 additions and 3 deletions
|
@ -59,14 +59,14 @@ EOF
|
||||||
end
|
end
|
||||||
|
|
||||||
script {
|
script {
|
||||||
"
|
unsafe_raw("
|
||||||
addEventListener('DOMContentLoaded', () => {
|
addEventListener('DOMContentLoaded', () => {
|
||||||
if(localStorage.getItem('faded'))
|
if(localStorage.getItem('faded'))
|
||||||
document.querySelectorAll('.fade').forEach(it =>
|
document.querySelectorAll('.fade').forEach(it =>
|
||||||
it.classList.add('no-delay'));
|
it.classList.add('no-delay'));
|
||||||
localStorage.setItem('faded', true);
|
localStorage.setItem('faded', true);
|
||||||
});
|
});
|
||||||
"
|
")
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -4,7 +4,7 @@ module BC
|
||||||
module Views
|
module Views
|
||||||
class ChevronRightIcon < Phlex::SVG
|
class ChevronRightIcon < Phlex::SVG
|
||||||
def view_template
|
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"
|
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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue