Skip to content

Commit

Permalink
stop aco.select form calling itself
Browse files Browse the repository at this point in the history
Merged pull request and increased version number.
  • Loading branch information
SimonSteinberger committed Sep 25, 2014
1 parent 4c451e6 commit fd0340b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jquery.tag-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
input = $(this).html('<input type="text" maxlength="'+o.maxLength+'" value="'+tag+'">').addClass('active').find('input');
input.data('old_tag', tag).focus().autoGrowInput().trigger('autogrow').caret(caret_pos);
if (o.autocomplete) {
var aco = $.extend({},o.autocomplete);
var aco = $.extend({}, o.autocomplete);
// extend user provided autocomplete select method
var ac_select = 'select' in aco ? o.autocomplete.select : '';
aco.select = function(){ if (ac_select) ac_select(); setTimeout(function(){ $('.active', ed).find('input').trigger('autogrow'); }, 20); };
Expand Down
4 changes: 2 additions & 2 deletions jquery.tag-editor.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ http://goodies.pixabay.com/jquery/tag-editor/demo.html

## Changelog

### Version 1.0.4 - 2014/09/24

* Merged pull stop aco.select form calling itself: request https://github.com/Pixabay/jQuery-tagEditor/pull/2/files

### Version 1.0.3 - 2014/09/13

* Removed unnecessary vendor prefixes in CSS stylesheet.
Expand Down

0 comments on commit fd0340b

Please sign in to comment.