Skip to content

Commit

Permalink
fix wrong match on the delete button of posts you've made
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielecirulli committed Jul 23, 2013
1 parent 5777939 commit 07e9071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infinite_scrolling.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ HNSpecial.settings.registerModule("infinite_scrolling", function () {
}

function getButton(context) {
return _.$("a[href^='/x'], a[href^='news2']", context)[0];
return _.$("td.title > a[href^='/x'], td.title > a[href^='news2']", context)[0];
}

function checkScroll() {
Expand Down

0 comments on commit 07e9071

Please sign in to comment.