Commit a3d93c06 authored by addyosmani's avatar addyosmani

Fix for all filter not correctly highlighting on app load

parent cc2bc4f3
......@@ -57,7 +57,7 @@ $(function( $ ) {
this.$('#filters li a')
.removeClass('selected')
.filter("[href='#/" + window.app.TodoFilter + "']")
.filter("[href='#/" + (window.app.TodoFilter || "") + "']")
.addClass('selected');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment