Skip to content

Commit

Permalink
hotfix button load error (#128)
Browse files Browse the repository at this point in the history
Co-authored-by: VladislavSokov <vladilsav.sokov.92@gmail.com>
  • Loading branch information
VladislavSokov and VladislavSokov authored Sep 22, 2023
1 parent 811ba5d commit 5da6c75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/javascript/account/transactions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
document.addEventListener('turbolinks:load', function() {
var toggleButton = document.getElementById('toggle-button');
if (!toggleButton) {
return
}
var transactionsHidden = true;
var tbodyRows = Array.from(document.querySelectorAll('tbody.transactions tr'));

Expand Down

0 comments on commit 5da6c75

Please sign in to comment.