Skip to content

Commit

Permalink
Fix: Add classes the right way
Browse files Browse the repository at this point in the history
  • Loading branch information
bnmnetp committed Jul 20, 2023
1 parent 67377b6 commit 189f87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/unittest/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def foo(evt):
expandbutton.value = expandmsg
expandbutton.type = "button"
expandbutton.addEventListener("click", foo)
expandbutton.classList.add("btn btn-info")
expandbutton.classList.add("btn", "btn-info")
row.appendChild(expandbutton)

self.resTable.appendChild(row)
Expand Down

0 comments on commit 189f87c

Please sign in to comment.