Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

changed selector elements to respect recent GitHub issues redesign #1

Merged
merged 1 commit into from about 1 year ago

2 participants

Zach Matthew Batchelder
Zach

No description provided.

Matthew Batchelder borkweb merged commit 565cf26 into from April 08, 2013
Matthew Batchelder borkweb closed this April 08, 2013
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 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  github.com.js
8  github.com.js
... ...
@@ -1,7 +1,7 @@
1 1
 var dotjs_github = {};
2 2
 
3 3
 dotjs_github.init = function() {
4  
-	dotjs_github.$issues = $('.issues');
  4
+	dotjs_github.$issues = $('.issue-list-group');
5 5
 
6 6
 	var style = '<style>' +
7 7
 		'.filter-exclude { margin-top: 10px; }' +
@@ -34,7 +34,7 @@ dotjs_github.init = function() {
34 34
 		'.filter-list .hide-it:hover {' +
35 35
 		'  text-decoration: none;' +
36 36
 		'}' +
37  
-		'.issues .item.hidden {' +
  37
+		'.issue-list-group .issue-list-item.hidden {' +
38 38
 		'  display: none;' +
39 39
 		'}' +
40 40
 		'</style>';
@@ -44,7 +44,7 @@ dotjs_github.init = function() {
44 44
 	$('.sidebar .filter-item').live('click.dotjs_github', function( e ) {
45 45
 		e.preventDefault();
46 46
 		setTimeout( function() {
47  
-			dotjs_github.$issues = $('.issues');
  47
+			dotjs_github.$issues = $('.issue-list-group');
48 48
 			dotjs_github.add_hide_links();
49 49
 		}, 500 );
50 50
 	});
@@ -61,7 +61,7 @@ dotjs_github.add_hide_links = function() {
61 61
 
62 62
 		var $el = $(this);
63 63
 		var val = $el.next().data('label');
64  
-		var $issues = dotjs_github.$issues.find('.list-browser-item .label[data-name="' + $.trim( val ) + '"]').closest('tr');
  64
+		var $issues = dotjs_github.$issues.find('.issue-list-item .label[data-name="' + $.trim( val ) + '"]').closest('li');
65 65
 
66 66
 		if ( ! $el.hasClass('clicked') ) {
67 67
 			$el.addClass('clicked').closest('li').addClass('custom-hidden');
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.