We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8ed94d commit becae28Copy full SHA for becae28
examples/js/example.js
@@ -135,8 +135,8 @@ function scroll() {
135
}
136
137
function bindEvents() {
138
- $("ul#sidebar-menu>li").on('click', function (evt) {
139
- window.location.hash = "#" + evt.target.id;
+ $('ul#sidebar-menu>li>a').on('click', function (evt) {
+ window.location.hash = "#" + evt.currentTarget.id;
140
});
141
142
$("ul#sidebar-menu ul.second-menu a").on('click', function (evt) {
0 commit comments