Skip to content

Commit

Permalink
Release 2.3.7
Browse files Browse the repository at this point in the history
Close #82
  • Loading branch information
xcash committed Aug 27, 2020
1 parent 53ebf52 commit 34053e8
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ It enhances form `input` and `select` field to provide autocomplete/typeahead ca

[Documentation](http://bootstrap-autocomplete.rtfd.io/)

Latest version: 2.3.6 (2020/08/25)
Latest version: 2.3.7 (2020/08/27)

Version 2.0.0 and up supports Boostrap v4.x and old v3.x out of the box.

Expand Down
2 changes: 1 addition & 1 deletion dist/latest/bootstrap-autocomplete.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/latest/bootstrap-autocomplete.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
# The short X.Y version.
version = u'2.3'
# The full version, including alpha/beta/rc tags.
release = u'2.3.6'
release = u'2.3.7'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Using CDN (thanks to JSDelivr)
.. code-block:: html
:caption: STABLE version |release|

<script src="https://cdn.jsdelivr.net/gh/xcash/bootstrap-autocomplete@v2.3.6/dist/latest/bootstrap-autocomplete.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/xcash/bootstrap-autocomplete@v2.3.7/dist/latest/bootstrap-autocomplete.min.js"></script>

.. code-block:: html
:caption: Latest version (this is the development branch)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bootstrap-autocomplete",
"version": "2.3.6",
"description": "Bootstrap autocomplete for Bootstrap 3 and 4.",
"version": "2.3.7",
"description": "Autocomplete for Bootstrap version 4.",
"keywords": [
"bootstrap",
"autocomplete",
Expand Down
6 changes: 2 additions & 4 deletions src/dropdownV4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ export class DropdownV4 {
const disabledItem = itemFormatted.disabled;

const li = $('<a >');
li.attr('href', '')
.addClass('dropdown-item')
li.addClass('dropdown-item')
.css({ 'overflow': 'hidden', 'text-overflow': 'ellipsis' })
.html(itemHtml)
.data('item', item);
Expand All @@ -229,8 +228,7 @@ export class DropdownV4 {
} else {
// show no results message
const li = $('<a >');
li.attr('href', '')
.addClass('dropdown-item disabled')
li.addClass('dropdown-item disabled')
.html(this.noResultsText);

liList.push(li);
Expand Down

0 comments on commit 34053e8

Please sign in to comment.