Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

Commit

Permalink
update the organisation arcnav item - fixes #75
Browse files Browse the repository at this point in the history
  • Loading branch information
benfoxall committed Jun 20, 2013
1 parent 278f2aa commit a803c08
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion public/javascripts/arcnav.js
Expand Up @@ -29,7 +29,11 @@
var qs = $.param(query);
_.each(['SectorCategory', 'Country', 'Reporter'], function(filterkey){
var href = '/filter/' + filterkey + (qs ? '?' + qs : '');
$('.filter.' + filterkey.toLowerCase()).attr('href', href);
var key = filterkey.toLowerCase();

// the reporter is "funder" in the css, so we'll hack this across to that
if(key === 'reporter') key = 'funder';
$('.filter.' + key).attr('href', href);
});


Expand Down

0 comments on commit a803c08

Please sign in to comment.