Commit 5ac3254e authored by Sindre Sorhus's avatar Sindre Sorhus

Merge pull request #331 from petsagouris/gh-pages

Fixing YUI example. Fixes #329
parents 59a9513d bfcfcc73
...@@ -74,9 +74,9 @@ YUI.add('todo-app', function (Y) { ...@@ -74,9 +74,9 @@ YUI.add('todo-app', function (Y) {
// Highlights for filters at the bottom of our Todo application. // Highlights for filters at the bottom of our Todo application.
container.one('#filters li a').removeClass('selected'); footer.one('#filters li a').removeClass('selected');
container.all('#filters li a') footer.all('#filters li a')
.filter('[href="#/' + (this.get('filter') || '') + '"]') .filter('[href="#/' + (this.get('filter') || '') + '"]')
.addClass('selected'); .addClass('selected');
} else { } else {
......
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