anchor.diff:          });
   
           // tell the autocomplete to launch a new tab with the topic, map, or mapper you clicked on
  -        $('.sidebarSearchField').bind('typeahead:selected', self.handleResultClick);
  +        $('.sidebarSearchField').bind('typeahead:select', self.handleResultClick);
           
           // don't do it, if they clicked on a 'addToMap' button
           $('.sidebarSearch button.addToMap').click(function (event) {
  
positive.code:         var topics = {
              name: 'topics',
              limit: 9999,
              dupChecker: function (datum1, datum2) {
                  return false;
              },
              template: $('#topicSearchTemplate').html(),
              remote: {
                  url: '/search/topics?term=%QUERY',
                  replace: function () {
                      var q = '/search/topics?term=' + $('.sidebarSearchField').val();
                      if (Metamaps.Active.Mapper && $("#limitTopicsToMe").is(':checked')) {
                          q += "&user=" + Metamaps.Active.Mapper.id.toString();
                      }
                      return q;
                  },
                  filter: function (dataset) {
                      if (dataset.length == 0) {
                          dataset.push({
                              value: "No results",
                              label: "No results",
                              typeImageURL: "<%= asset_path('icons/wildcard.png') %>",
                              rtype: "noresult"
                          });
                      }
                      return dataset;
                  }
              },
              engine: Hogan,
              header: topicheader
          };
  
          var maps = {
              name: 'maps',
              limit: 9999,
              dupChecker: function (datum1, datum2) {
                  return false;
              },
              template: $('#mapSearchTemplate').html(),
              remote: {
                  url: '/search/maps?term=%QUERY',
                  replace: function () {
                      var q = '/search/maps?term=' + $('.sidebarSearchField').val();
                      if (Metamaps.Active.Mapper && $("#limitMapsToMe").is(':checked')) {
                          q += "&user=" + Metamaps.Active.Mapper.id.toString();
                      }
                      return q;
                  },
                  filter: function (dataset) {
                      if (dataset.length == 0) {
                          dataset.push({
                              value: "No results",
                              label: "No results",
                              rtype: "noresult"
                          });
                      }
                      return dataset;
                  }
              },
              engine: Hogan,
              header: mapheader
          };
  
          var mappers = {
              name: 'mappers',
              limit: 9999,
              dupChecker: function (datum1, datum2) {
                  return false;
              },
              template: $('#mapperSearchTemplate').html(),
              remote: {
                  url: '/search/mappers?term=%QUERY',
                  filter: function (dataset) {
                      if (dataset.length == 0) {
                          dataset.push({
                              profile: "<%= asset_path('user.png') %>",
                    
                              value: "No results",
                              label: "No results",
                              rtype: "noresult"
                          });
                      }
                      return dataset;
                  }
              },
              engine: Hogan,
              header: mapperheader
          };
          $('.sidebarSearchField').typeahead([topics, maps, mappers]);
  
          //Set max height of the search results box to prevent it from covering bottom left footer
          $('.sidebarSearchField').bind('typeahead:suggestionsRendered', function (event) {
              self.initSearchOptions();
              self.hideLoader();
              var h = $(window).height();
  
negative.code:         });
  
          // make sure that when you click on 'limit to me' or 'toggle section' it works
          $('.sidebarSearchField').bind('typeahead:change', function(){
              if ($(this).val() === "") {
                  self.hideLoader();
              }
  