diff --git a/select2.js b/select2.js index 4d2ec19d..3a44981c 100644 --- a/select2.js +++ b/select2.js @@ -416,7 +416,7 @@ the specific language governing permissions and limitations under the Apache Lic data = data ? data.call(self, query.term, query.page, query.context) : null; url = (typeof url === 'function') ? url.call(self, query.term, query.page, query.context) : url; - if( null !== handler) { handler.abort(); } + if (handler) { handler.abort(); } if (options.params) { if ($.isFunction(options.params)) {