Skip to content

Commit

Permalink
#344 added removing options before sending search request
Browse files Browse the repository at this point in the history
  • Loading branch information
d.choban committed Feb 28, 2019
1 parent d772738 commit e4c5697
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arctic/static/arctic/src/assets/js/components/widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ $(document).ready(function() {
create: false,
load: function(query, callback) {
if (!query.length) return callback();
this.clearOptions();
$.ajax({
url: url + encodeURIComponent(query),
type: 'GET',
Expand Down

0 comments on commit e4c5697

Please sign in to comment.