MediaWiki:Common.js: Difference between revisions

From Weegeepie Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
     $('<a/>').addClass('hover-community-header-wrapper')
     $('<a/>').addClass('hover-community-header-wrapper')
         .append($('<div/>')
         .append($('<div/>')
             .addClass('message')
             .addClass('wgp-ep-msg')
             .text('Click here to view the latest episode!')
             .text('Click here to view the latest episode!')
         )
         )
         .attr('href', 'https://www.youtube.com/watch?v=MFxGcb_XuT0')
         .attr('href', 'https://www.youtube.com/watch?v=MFxGcb_XuT0')
);
);

Revision as of 13:40, 2 January 2024

/* Any JavaScript here will be loaded for all users on every page load. */

/* Taken from MD wiki lol */
$('#left-navigation').append(
    $('<a/>').addClass('hover-community-header-wrapper')
        .append($('<div/>')
            .addClass('wgp-ep-msg')
            .text('Click here to view the latest episode!')
        )
        .attr('href', 'https://www.youtube.com/watch?v=MFxGcb_XuT0')
);