Skip to content

Commit

Permalink
Open all collapses until jQuery or Bootstrap are fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
shimbaco committed May 4, 2020
1 parent 329c0a3 commit 187c659
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/application/js_templates/_tips.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ script#t-tips type="x-template"
.c-tips__close.u-fake-link.col.text-right @click="close(i)"
= icon :times

.collapse :id='"c-tips__" + tip.slug'
.collapse.show :id='"c-tips__" + tip.slug'
.c-tips__body.pb-3
- @tips.each do |t|
template v-if=="tip.slug === '#{t.slug}'"
Expand Down
2 changes: 1 addition & 1 deletion app/views/channels/_channel_list.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.card
.card-header
= link_to cg.name, "#collapse#{cg.id}", data: { toggle: "collapse", parent: "#accordion" }
.collapse id="collapse#{cg.id}"
.collapse.show id="collapse#{cg.id}"
.card-block.p-3
- cg.channels.only_kept.order(:sort_number, :id).each do |c|
.row.mb-2
Expand Down
2 changes: 1 addition & 1 deletion app/views/faqs/index.html+mobile.slim
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
.card
.card-header
= link_to content.question, "#collapse#{content.id}", data: { toggle: "collapse", parent: "#accordion" }
.collapse id="collapse#{content.id}"
.collapse.show id="collapse#{content.id}"
.card-block.p-3
== render_markdown content.answer

Expand Down
2 changes: 1 addition & 1 deletion app/views/faqs/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
.card
.card-header
= link_to content.question, "#collapse#{content.id}", data: { toggle: "collapse", parent: "#accordion" }
.collapse id="collapse#{content.id}"
.collapse.show id="collapse#{content.id}"
.card-block.p-3
== render_markdown content.answer

Expand Down

0 comments on commit 187c659

Please sign in to comment.