dotjs/unisubs.sifterapp.com.js @ bc06f3324364

Add "weechat/script/plugins.xml.gz" to .hgignore.
author Steve Losh <steve@stevelosh.com>
date Tue, 11 Feb 2014 11:23:30 -0500
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);
    });
});