MediaWiki:Gadget-commentaddon.js: Difference between revisions
Jump to navigation
Jump to search
Added styling class |
Added discord server link. |
||
Line 2: | Line 2: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
var faqAddon = $('<div></div>'); | var faqAddon = $('<div></div>'); | ||
faqAddon.html('Please see our <a href="Guideline_Comments">comment guidelines</a> first.'); | faqAddon.html('Please see our <a href="Guideline_Comments">comment guidelines</a> first. For further communication, please visit our <a href="https://discord.gg/GbyJQBp">Discord server</a>'); | ||
faqAddon.addClass('comments-guideline'); | faqAddon.addClass('comments-guideline'); | ||
$('#flowthread .comment-replybox').prepend(faqAddon); | $('#flowthread .comment-replybox').prepend(faqAddon); | ||
}); | }); | ||
}]); | }]); |
Revision as of 23:37, 13 December 2020
RLQ.push(['jquery', function () {
$(document).ready(function() {
var faqAddon = $('<div></div>');
faqAddon.html('Please see our <a href="Guideline_Comments">comment guidelines</a> first. For further communication, please visit our <a href="https://discord.gg/GbyJQBp">Discord server</a>');
faqAddon.addClass('comments-guideline');
$('#flowthread .comment-replybox').prepend(faqAddon);
});
}]);