Skip to content

Commit 234c2ee

Browse files
committed
typo
1 parent 450e65f commit 234c2ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/head/sidebar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function toggle() {
2121

2222
function onClick(event) {
2323

24-
if (!event.target.getAttribute('data-sidebar-toggle')) return;
24+
if (!event.target.hasAttribute('data-sidebar-toggle')) return;
2525

2626
toggle();
2727
}

0 commit comments

Comments
 (0)