From: Mike Taylor Date: Fri, 8 May 2015 20:06:43 +0000 (+0100) Subject: In urlFragment, break creation of temporary state in two. X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=73de89ae5ce18d0e58235628f1b724446060cff6;p=mkws-moved-to-github.git In urlFragment, break creation of temporary state in two. --- diff --git a/src/mkws-team.js b/src/mkws-team.js index 04d83e8..e5cb746 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -77,7 +77,8 @@ mkws.makeTeam = function($, teamName) { var s; // Expand the filterSet into a set of key=value properties - var state = $.extend(true, {}, m_state, overrides ? overrides : {}); + var state = $.extend(true, {}, m_state); + $.extend(state, overrides ? overrides : {}); var tmp = state.filters; delete state.filters; $.extend(state, tmp.fragmentItems());