From 1ff8bbde713392126181dabfeb076a84353cfd83 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Mon, 17 Jul 2017 12:06:16 +0500 Subject: Remove intermediate variable --- web/app/view/ArrayListFilter.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'web') diff --git a/web/app/view/ArrayListFilter.js b/web/app/view/ArrayListFilter.js index b4442cc7..cea748af 100644 --- a/web/app/view/ArrayListFilter.js +++ b/web/app/view/ArrayListFilter.js @@ -23,9 +23,8 @@ Ext.define('Traccar.view.ArrayListFilter', { type: 'arraylist', constructor: function (config) { - var me = this; - me.callParent([config]); - me.filter.setFilterFn(function (item) { + this.callParent([config]); + this.filter.setFilterFn(function (item) { var i, property, value; property = item.get(this.getProperty()); value = this.getValue(); -- cgit v1.2.3