mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 05:31:42 +00:00
set height of typeahead menu to 600px max
This commit is contained in:
parent
060c5f6a00
commit
da664f2948
|
@ -90,6 +90,7 @@ function initMost() {
|
||||||
* for each hit and render could only process strings.
|
* for each hit and render could only process strings.
|
||||||
* */
|
* */
|
||||||
$("#searchfield").typeahead({ /* {{{ */
|
$("#searchfield").typeahead({ /* {{{ */
|
||||||
|
menu: '<ul class="typeahead dropdown-menu" style="max-height: 600px; overflow-y: auto;"></ul>',
|
||||||
minLength: 3,
|
minLength: 3,
|
||||||
items: 100, /* the query will limit the number of hits */
|
items: 100, /* the query will limit the number of hits */
|
||||||
source: function(query, process) {
|
source: function(query, process) {
|
||||||
|
|
|
@ -93,7 +93,7 @@ function initMost() {
|
||||||
* for each hit and render could only process strings.
|
* for each hit and render could only process strings.
|
||||||
* */
|
* */
|
||||||
$("#searchfield").typeahead({ /* {{{ */
|
$("#searchfield").typeahead({ /* {{{ */
|
||||||
menu: '<div class="typeahead dropdown-menu" style="max-height: 500px; overflow-y: auto;"></div>',
|
menu: '<div class="typeahead dropdown-menu" style="max-height: 600px; overflow-y: auto;"></div>',
|
||||||
item: '<a class="dropdown-item" href="#"></a>',
|
item: '<a class="dropdown-item" href="#"></a>',
|
||||||
itemtag: 'a',
|
itemtag: 'a',
|
||||||
minLength: 3,
|
minLength: 3,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user