Skip to content

Commit 8aba82c

Browse files
committed
fix jsdocs search链接不能跳转的bug
1 parent a6bc9f5 commit 8aba82c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/jsdocs/template/static/scripts/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
$(function () {
22
// Search Items
3-
$('#search').on('keyup', function (e) {
3+
$('#searchBox').on('keyup', function (e) {
44
var value = $(this).val();
55
var $el = $('.navigation');
66

build/jsdocs/template/tmpl/navigation.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var self = this;
66
<h3 class="applicationName"><a href="index.html"><?js= env.conf.templates.applicationName ?></a></h3>
77
<?js } ?>
88
<div class="search">
9-
<input id="search" type="text" class="form-control input-sm" placeholder="Search Documentations">
9+
<input id="searchBox" type="text" class="form-control input-sm" placeholder="Search Documentations">
1010
</div>
1111
<ul class="list">
1212
<?js

0 commit comments

Comments
 (0)