Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
v9n committed Dec 31, 2019
1 parent ae99d4f commit eff1bd0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/javascript/controllers/flash_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ export default class extends Controller {

hide(event) {
this.messageContainerTarget.parentNode.removeChild(this.messageContainerTarget)

}
}
1 change: 0 additions & 1 deletion app/javascript/controllers/tabs_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default class extends Controller {
showTab() {
this.tabTargets.forEach((tab, index) => {
const panel = this.panelTargets[index]
console.log(panel.getAttribute("href"))
history.pushState("changetab", panel.getAttribute("title"), panel.getAttribute("href"))
tab.classList.toggle("is-active", index == this.index)
panel.classList.toggle("is-hidden", index != this.index)
Expand Down

0 comments on commit eff1bd0

Please sign in to comment.