Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

changed selector elements to respect recent GitHub issues redesign #1

Merged
merged 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +4 −4 github.com.js
View
8 github.com.js
@@ -1,7 +1,7 @@
var dotjs_github = {};
dotjs_github.init = function() {
- dotjs_github.$issues = $('.issues');
+ dotjs_github.$issues = $('.issue-list-group');
var style = '<style>' +
'.filter-exclude { margin-top: 10px; }' +
@@ -34,7 +34,7 @@ dotjs_github.init = function() {
'.filter-list .hide-it:hover {' +
' text-decoration: none;' +
'}' +
- '.issues .item.hidden {' +
+ '.issue-list-group .issue-list-item.hidden {' +
' display: none;' +
'}' +
'</style>';
@@ -44,7 +44,7 @@ dotjs_github.init = function() {
$('.sidebar .filter-item').live('click.dotjs_github', function( e ) {
e.preventDefault();
setTimeout( function() {
- dotjs_github.$issues = $('.issues');
+ dotjs_github.$issues = $('.issue-list-group');
dotjs_github.add_hide_links();
}, 500 );
});
@@ -61,7 +61,7 @@ dotjs_github.add_hide_links = function() {
var $el = $(this);
var val = $el.next().data('label');
- var $issues = dotjs_github.$issues.find('.list-browser-item .label[data-name="' + $.trim( val ) + '"]').closest('tr');
+ var $issues = dotjs_github.$issues.find('.issue-list-item .label[data-name="' + $.trim( val ) + '"]').closest('li');
if ( ! $el.hasClass('clicked') ) {
$el.addClass('clicked').closest('li').addClass('custom-hidden');
Something went wrong with that request. Please try again.