diff --git a/sox.features.js b/sox.features.js index 86f703b..9508c8d 100644 --- a/sox.features.js +++ b/sox.features.js @@ -935,7 +935,7 @@ metaNewQuestionAlert: function() { // Description: For adding a fake mod diamond that notifies you if there has been a new post posted on the current site's meta - //DO NOT RUN ON META OR CHAT OR SITES WITHOUT A META + //Do not run on meta, chat, or sites without a meta if ((sox.site.type != 'main' && sox.site.type != 'beta') || !$('.related-site').length) return; var NEWQUESTIONS = 'metaNewQuestionAlert-lastQuestions'; @@ -949,9 +949,11 @@ }); var $header = $('
', { 'class': 'header', - }).append($('', { + }).append($('').append($('', { text: 'new meta posts', - })); + href: `//meta.${sox.site.url}`, + style: 'color: #0077cc', + }))); var $content = $('', { 'class': 'modal-content', }); diff --git a/sox.user.js b/sox.user.js index 53d10fd..f39ca2a 100644 --- a/sox.user.js +++ b/sox.user.js @@ -3,7 +3,7 @@ // @namespace https://github.com/soscripted/sox // @homepage https://github.com/soscripted/sox // @homepageURL https://github.com/soscripted/sox -// @version 2.3.21 DEV +// @version 2.3.22 DEV // @description Extra optional features for Stack Overflow and Stack Exchange sites // @contributor ᴉʞuǝ (https://stackoverflow.com/users/1454538/, https://github.com/mezmi) // @contributor ᔕᖺᘎᕊ (https://stackexchange.com/users/4337810/, https://github.com/shu8)