mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Fix onclick binding for currently_hacking
This commit is contained in:
@@ -3,7 +3,7 @@ import "@hotwired/turbo-rails"
|
||||
import "controllers"
|
||||
|
||||
function setupCurrentlyHacking() {
|
||||
const header = document.querySelector('.currently-hacking-header');
|
||||
const header = document.querySelector('.currently-hacking');
|
||||
// only if no existing event listener
|
||||
if (!header) { return }
|
||||
header.onclick = function() {
|
||||
|
||||
Reference in New Issue
Block a user