Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Commit

Permalink
523: Fix query for data-tab-id elements in new admin (#650)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Boeira <[email protected]>
  • Loading branch information
Lucas-Boeira and Lucas Boeira authored Dec 27, 2023
1 parent 62a559d commit 0198d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/new_admin/navbar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const tabButtons = Array.from(document.querySelectorAll("[data-tab-id]"));
const tabButtons = Array.from(document.querySelectorAll("button[data-tab-id]"));

const showElement = (element) => {
element.style.display = "block";
Expand Down

0 comments on commit 0198d59

Please sign in to comment.