From: Moritz Bunkus Date: Mon, 4 Apr 2016 15:12:05 +0000 (+0200) Subject: JS: ineffizienten Funktionsaufruf gefixt (von jshint) X-Git-Tag: release-3.4.1~253 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2c45e1010907061d2b848903f49f5c194b307d1c;p=kivitendo-erp.git JS: ineffizienten Funktionsaufruf gefixt (von jshint) --- diff --git a/js/kivi.CustomerVendor.js b/js/kivi.CustomerVendor.js index 4b4aa3f50..38afb74e1 100644 --- a/js/kivi.CustomerVendor.js +++ b/js/kivi.CustomerVendor.js @@ -155,9 +155,7 @@ namespace('kivi.CustomerVendor', function(ns) { showMap(); }); for(var i in $mapSearchElements) - $mapSearchElements[i].keyup(function() { - testInputs(); - }); + $mapSearchElements[i].keyup(testInputs); this.testInputs(); };