MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
fixing discord widget display issues on some resolutions
imported>Hb1290
No edit summary
imported>Hb1290
(fixing discord widget display issues on some resolutions)
Line 378: Line 378:
//</nowiki>
//</nowiki>
/*Discord widget*/
/*Discord widget*/
$( "#discord-widget" ).html('<iframe src="https://discord.com/widget?id=333345832059273216&theme=dark" width="{WIDTH}" height="255px" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>');
$( "#discord-widget" ).html('<iframe src="https://discord.com/widget?id=333345832059273216&theme=dark" width="100%" height="255px" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>');
Anonymous user

Navigation menu