diff --git a/core/misc/autocomplete.js b/core/misc/autocomplete.js index 83b3c7d..70ccf0b 100644 --- a/core/misc/autocomplete.js +++ b/core/misc/autocomplete.js @@ -71,7 +71,6 @@ * @param {Function} response */ function sourceData(request, response) { - /*jshint validthis:true */ var elementId = this.element.attr('id'); if (!(elementId in autocomplete.cache)) { @@ -116,7 +115,6 @@ } else { var options = $.extend({success: sourceCallbackHandler, data: {q: term}}, autocomplete.ajax); - /*jshint validthis:true */ $.ajax(this.element.attr('data-autocomplete-path'), options); } }