clicking discord link no longer beraks site

This commit is contained in:
Jack 2020-05-25 16:55:31 +01:00
parent 43fb3924b7
commit 35bacf7b0d

View file

@ -924,6 +924,7 @@ $(document).on("click", "#top .config .mode .button", (e) => {
});
$(document).on("click", "#top #menu .button", (e) => {
if($(e.currentTarget).hasClass('discord')) return;
href = $(e.currentTarget).attr('href');
changePage(href.replace('/', ''));
})