X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-team.js;h=91a411cbc7f356dfdd5bf30306a61b326507d4a0;hb=1221dbafb11bc0e4479cf82b4288d73e4653dedd;hp=a1e942c2921cb16635e65644195ecec3e37ed24e;hpb=0d3b289df04cf273feb973c72da3e750f6825675;p=mkws-moved-to-github.git diff --git a/src/mkws-team.js b/src/mkws-team.js index a1e942c..91a411c 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -163,13 +163,7 @@ function team($, teamName) { that.targetFiltered = function(id) { - for (var i = 0; i < m_filterSet.list().length; i++) { - if (m_filterSet.list()[i].id === id || - m_filterSet.list()[i].id === 'pz:id=' + id) { - return true; - } - } - return false; + return m_filterSet.targetFiltered(id); };