diff --git a/4chan_x.user.js b/4chan_x.user.js index 06b61ae35..01df454a3 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1204,7 +1204,7 @@ }); a = stub.firstChild; $.on(a, 'click', ReplyHiding.toggle); - $.add(a, $.tn($('.desktop > .nameBlock', el).textContent)); + $.add(a, $.tn(Conf['Anonymize'] ? 'Anonymous' : $('.desktop > .nameBlock', el).textContent)); if (Conf['Menu']) { menuButton = Menu.a.cloneNode(true); $.on(menuButton, 'click', Menu.toggle); diff --git a/changelog b/changelog index e8ac104b4..794d8c25f 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,6 @@ master +- noface + Fix Anonymize not working on stubs. - Mayhem Fix selection quoting on Opera. Fix history bug with Persistent QR enabled on Chrome. diff --git a/script.coffee b/script.coffee index 8db247473..deec847fa 100644 --- a/script.coffee +++ b/script.coffee @@ -954,7 +954,7 @@ ReplyHiding = innerHTML: '[ + ] ' a = stub.firstChild $.on a, 'click', ReplyHiding.toggle - $.add a, $.tn $('.desktop > .nameBlock', el).textContent + $.add a, $.tn if Conf['Anonymize'] then 'Anonymous' else $('.desktop > .nameBlock', el).textContent if Conf['Menu'] menuButton = Menu.a.cloneNode true $.on menuButton, 'click', Menu.toggle