Merge pull request #857 from ihavenoface/pull-request

Anonymize on stubs.
This commit is contained in:
Mayhem 2012-12-13 09:31:09 -08:00
commit dfbd3ccde6
3 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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.

View File

@ -954,7 +954,7 @@ ReplyHiding =
innerHTML: '<a href="javascript:;"><span>[ + ]</span> </a>'
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