diff --git a/themes/bootstrap/js/common.js b/themes/bootstrap/js/common.js index 064b69ba3f3725e01ed99d205fd0a247feed114c..b328d8323069e33b3f397e615fb77dbd26d84dd1 100644 --- a/themes/bootstrap/js/common.js +++ b/themes/bootstrap/js/common.js @@ -103,7 +103,9 @@ $(document).ready(function() { var autoCompleteRequest; $('.autocomplete').typeahead({ source:function(query, process) { - if(autoCompleteRequest) autoCompleteRequest.abort(); + if (autoCompleteRequest) { + autoCompleteRequest.abort(); + } var searcher = extractClassParams('.autocomplete'); autoCompleteRequest = $.ajax({ url: path + '/AJAX/JSON',