Navigation Menu

Skip to content

Commit

Permalink
Fixes: Styling on /threads pages
Browse files Browse the repository at this point in the history
Fixes: Followed users not highlighted on threads pages
  • Loading branch information
tommoor committed Mar 11, 2013
1 parent 76791e9 commit c6001d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion js/hn.js
Expand Up @@ -29,6 +29,7 @@ var hn = {
$('html').addClass('comments');
break;
case '/item':
case '/threads':
$('html').addClass('item');
hn.augmentComments();
hn.createQuickReply();
Expand Down Expand Up @@ -66,7 +67,7 @@ var hn = {
},

createSearchBar: function() {
var $footer = $('body > center > table > tbody > tr:nth-child(4) > td');
var $footer = $('.yclinks').parents('td');
var footer = $footer.html();
$footer.remove();

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
@@ -1,6 +1,6 @@
{
"name": "HackerNew",
"version": "1.1.0",
"version": "1.2.0",
"description": "The best Hacker News extension, making HN quicker and more useful since 2012.",
"background": {
"page": "background.html"
Expand Down

0 comments on commit c6001d9

Please sign in to comment.