dotjs/unisubs.sifterapp.com.js @ 3d37ca22c5c5
bpollack/use-command-to-explicitly-call-ag-and-us-1442506830050
Use command to explicitly call ag, and use compound if block
author |
Benjamin Pollack <benjamin@bitquabit.com> |
date |
Thu, 17 Sep 2015 16:20:42 +0000 |
parents |
e2adcd899a6e |
children |
(none) |
$(function() {
$('ul.state li.priority').each(function(idx, el) {
$(el).closest('.issue').find('h2').append(
'<span class="new-priority">' + $(el).text() + '</span>');
$(el).remove();
});
$('div.comment').each(function (idx, el) {
var id = $(el).attr('id');
var link = '<a href="#' + id + '">permalink</a>';
$(el).find('.timestamp').append(link);
});
});