 
 minZoom = 1
 maxZoom = 4
+
+resetFilters = ->
+  $('#peakaboo-filter-clear').addClass 'disabled'
+  $('.peakaboo-filter').removeClass 'active'
+  $('.peakaboo-filter input').prop 'checked', false
 
 Template.navbar.events
   'keyup input#search, click button#searchReset': (e) ->

        .prop('checked', true).parent().addClass 'active'
      if selected.length
        $('#peakaboo-filter-clear').removeClass('disabled')


  'click #peakaboo-filter-clear': (e) ->
    e.stopImmediatePropagation()
    resetFilters()
    Router.go 'room_list'

Template.navbar.helpers
