We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d6bbd6 commit d5ec257Copy full SHA for d5ec257
javascripts/page.js
@@ -4,7 +4,7 @@ var Page = {
4
var current_page = location.pathname;
5
6
$("div.site-links a").each(function(i) {
7
- if (current_page.startsWith($(this).attr('href'))) {
+ if (current_page.index_of($(this).attr('href')) == 0) {
8
$(this).css('font-weight', 'bold');
9
}
10
});
0 commit comments