Skip to content

Commit

Permalink
fixed Y.delegate
Browse files Browse the repository at this point in the history
  • Loading branch information
tilomitra committed Jun 22, 2011
1 parent 16cacf4 commit 9ea0c65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/controller.js
Expand Up @@ -27,8 +27,8 @@
Y.ui.hideSpinner();
};

Y.one('#featureWrapper td').delegate("click", fetchArticle, ".featureLink");
Y.one('#storiesWrapper').delegate("click", fetchArticle, ".story.cricinfo-cls");
Y.one('#featureWrapper').delegate("click", fetchArticle, ".featureStory a");
Y.one('#storiesWrapper').delegate("click", fetchArticle, "div.cricinfo-cls a");

// Y.all(".featureLink, div.cricinfo-cls a").each(function(n) {
// //console.log(n);
Expand Down

0 comments on commit 9ea0c65

Please sign in to comment.