Skip to content

Commit f73c779

Browse files
author
Tomas Kirda
committed
Rev for 1.2.11 release
1 parent cf80d8e commit f73c779

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

bower.json

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

dist/jquery.autocomplete.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Ajax Autocomplete for jQuery, version 1.2.10
2+
* Ajax Autocomplete for jQuery, version 1.2.11
33
* (c) 2014 Tomas Kirda
44
*
55
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
@@ -723,9 +723,10 @@
723723
},
724724

725725
validateOrientation: function(orientation, fallback) {
726-
orientation = orientation.trim().toLowerCase();
727-
if(['auto', 'bottom', 'top'].indexOf(orientation) == '-1')
726+
orientation = $.trim(orientation || '').toLowerCase();
727+
if($.inArray(orientation, ['auto', 'bottom', 'top']) === -1){
728728
orientation = fallback;
729+
}
729730
return orientation
730731
},
731732

dist/jquery.autocomplete.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/jquery.autocomplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Ajax Autocomplete for jQuery, version 1.2.10
2+
* Ajax Autocomplete for jQuery, version 1.2.11
33
* (c) 2014 Tomas Kirda
44
*
55
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.

0 commit comments

Comments
 (0)