2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-11-21 20:35:17 +00:00

Rev for 1.4.9 release

This commit is contained in:
Tomas Kirda 2018-08-21 11:06:24 -05:00
parent 0765368294
commit ca78cd6891
5 changed files with 7 additions and 12 deletions

View File

@ -1,6 +1,6 @@
{
"name": "devbridge-autocomplete",
"version": "1.4.8",
"version": "1.4.9",
"homepage": "https://github.com/devbridge/jQuery-Autocomplete",
"authors": [
"Tomas Kirda"

View File

@ -6,7 +6,7 @@
"ajax",
"autocomplete"
],
"version": "1.4.8",
"version": "1.4.9",
"author": {
"name": "Tomas Kirda",
"url": "https://github.com/tkirda"

View File

@ -1,5 +1,5 @@
/**
* Ajax Autocomplete for jQuery, version 1.4.8
* Ajax Autocomplete for jQuery, version 1.4.9
* (c) 2017 Tomas Kirda
*
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
@ -163,12 +163,7 @@
options = that.options,
container;
// Remove autocomplete attribute to prevent native suggestions:
// as per
// https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
// some browsers e.g. Google Chrome ignore autocomplete=off but autocomplete=nope
// will provide the correct behaviour
that.element.setAttribute('autocomplete', 'nope');
that.element.setAttribute('autocomplete', 'off');
// html() deals with many types: htmlString or Element or Array or jQuery
that.noSuggestionsContainer = $('<div class="autocomplete-no-suggestion"></div>')

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "devbridge-autocomplete",
"version": "1.4.8",
"version": "1.4.9",
"description": "Autocomplete provides suggestions while you type into the text field.",
"homepage": "https://github.com/devbridge/jQuery-Autocomplete",
"author": "Tomas Kirda (https://twitter.com/tkirda)",