Skip to content

Commit

Permalink
Put the balls back in the main jobs list
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Burke committed Oct 1, 2013
1 parent f9198ca commit 2ea24c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doony.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,13 +470,16 @@ jQuery(function($) {
dimension = this.getAttribute('width') * 0.5 + 8;
wrapper.style.marginRight = "15px";
wrapper.style.verticalAlign = "middle";
// XXX hack, this is for the main page job list
} else if (this.classList.contains("icon32x32")) {
dimension = 24;
wrapper.style.marginLeft = "4px";
} else {
dimension = this.getAttribute('width');
}
$(wrapper).css('width', dimension);
$(wrapper).css('height', dimension);

var a = $(this).parent("a");
$(this).after(wrapper).remove();
});
};
Expand Down

0 comments on commit 2ea24c8

Please sign in to comment.