Skip to content
Browse files

Add in filtering via the sidebar

  • Loading branch information...
1 parent c40e066 commit 6fc73577601486601d408a1456f2d7f41ce891b6 @kneath kneath committed Dec 13, 2009
Showing with 8 additions and 0 deletions.
  1. +8 −0 public/javascripts/application.js
View
8 public/javascripts/application.js
@@ -38,6 +38,14 @@
this.currentBeam = this.beams[service]
this.currentBeam.navElement.addClass('selected')
+
+ $('ul.events li').each(function(){
+ var el = $(this)
+ if (el.hasClass(service) || service == 'all')
+ el.show()
+ else
+ el.hide()
+ });
},
poll: function(){

0 comments on commit 6fc7357

Please sign in to comment.
Something went wrong with that request. Please try again.