MediaWiki:PoemButtons.js: Difference between revisions

No edit summary
No edit summary
Line 33: Line 33:
     // Style the two custom buttons after they are added
     // Style the two custom buttons after they are added
     setTimeout(function () {
     setTimeout(function () {
    $('a[rel="Poem1"], a[rel="Poem2"]').css({
    console.log($('a[rel="Poem1"]').length);
        position: 'relative',
    console.log($('a[rel="Poem2"]').length);
        top: '7px'
    });
}, 100);
}, 100);