From 2d365154ee83aa50878b597f0b7f965b33861b4b Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Sat, 9 May 2015 00:04:44 +0100 Subject: [PATCH] Support target and field facets in hashchange handler. Working nicely! --- src/mkws-team.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mkws-team.js b/src/mkws-team.js index 04d83e8..17f0f1f 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -134,6 +134,11 @@ mkws.makeTeam = function($, teamName) { if (that.submitted()) { that.reShow(); } + } else if (key.indexOf('xt-') == 0) { + that.limitTarget(key.substring(3), val); + } else if (key.indexOf('xf-') == 0) { + var a = key.split('-'); + that.limitQuery(a[1], a[2]); } } } -- 1.7.10.4