Added items to search
This commit is contained in:
parent
91aa1d9378
commit
fb88cf2866
@ -6,7 +6,6 @@
|
|||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" data-widget="pushmenu" href="#"><i class="fa fa-bars"></i></a>
|
<a class="nav-link" data-widget="pushmenu" href="#"><i class="fa fa-bars"></i></a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<!-- SEARCH FORM -->
|
<!-- SEARCH FORM -->
|
||||||
@ -67,8 +66,9 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("input[name=q]").typeahead({
|
$("input[name=q]").typeahead({
|
||||||
delay: 300,
|
delay: 500,
|
||||||
minLength: 2,
|
minLength: 2,
|
||||||
|
items: {{ isset($search_limit) ? $search_limit : 15 }},
|
||||||
fitToElement: false,
|
fitToElement: false,
|
||||||
appendTo: "#search_results",
|
appendTo: "#search_results",
|
||||||
source: function (query,process) {
|
source: function (query,process) {
|
||||||
|
Loading…
Reference in New Issue
Block a user