Skip to content

Commit ca78cd6

Browse files
author
Tomas Kirda
committed
Rev for 1.4.9 release
1 parent 0765368 commit ca78cd6

5 files changed

+7
-12
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devbridge-autocomplete",
3-
"version": "1.4.8",
3+
"version": "1.4.9",
44
"homepage": "https://github.com/devbridge/jQuery-Autocomplete",
55
"authors": [
66
"Tomas Kirda"

devbridge-autocomplete.jquery.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"ajax",
77
"autocomplete"
88
],
9-
"version": "1.4.8",
9+
"version": "1.4.9",
1010
"author": {
1111
"name": "Tomas Kirda",
1212
"url": "https://github.com/tkirda"

dist/jquery.autocomplete.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Ajax Autocomplete for jQuery, version 1.4.8
2+
* Ajax Autocomplete for jQuery, version 1.4.9
33
* (c) 2017 Tomas Kirda
44
*
55
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
@@ -163,12 +163,7 @@
163163
options = that.options,
164164
container;
165165

166-
// Remove autocomplete attribute to prevent native suggestions:
167-
// as per
168-
// https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
169-
// some browsers e.g. Google Chrome ignore autocomplete=off but autocomplete=nope
170-
// will provide the correct behaviour
171-
that.element.setAttribute('autocomplete', 'nope');
166+
that.element.setAttribute('autocomplete', 'off');
172167

173168
// html() deals with many types: htmlString or Element or Array or jQuery
174169
that.noSuggestionsContainer = $('<div class="autocomplete-no-suggestion"></div>')

dist/jquery.autocomplete.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devbridge-autocomplete",
3-
"version": "1.4.8",
3+
"version": "1.4.9",
44
"description": "Autocomplete provides suggestions while you type into the text field.",
55
"homepage": "https://github.com/devbridge/jQuery-Autocomplete",
66
"author": "Tomas Kirda (https://twitter.com/tkirda)",

0 commit comments

Comments
 (0)