Merge branch 'master' into qr

This commit is contained in:
Nicolas Stepien 2012-01-21 18:13:40 +01:00
commit 385a5c6ee1
2 changed files with 4 additions and 4 deletions

View File

@ -841,7 +841,7 @@
name = $('.commentpostername', reply).textContent; name = $('.commentpostername', reply).textContent;
trip = ((_ref = $('.postertrip', reply)) != null ? _ref.textContent : void 0) || ''; trip = ((_ref = $('.postertrip', reply)) != null ? _ref.textContent : void 0) || '';
a = $.el('a', { a = $.el('a', {
textContent: "[ + ] " + name + " " + trip, innerHTML: "<span>[ + ]</span> " + name + " " + trip,
href: 'javascript:;' href: 'javascript:;'
}); });
$.on(a, 'click', replyHiding.cb.show); $.on(a, 'click', replyHiding.cb.show);
@ -1908,7 +1908,7 @@
name = $('.postername', thread).textContent; name = $('.postername', thread).textContent;
trip = ((_ref = $('.postername + .postertrip', thread)) != null ? _ref.textContent : void 0) || ''; trip = ((_ref = $('.postername + .postertrip', thread)) != null ? _ref.textContent : void 0) || '';
a = $.el('a', { a = $.el('a', {
textContent: "[ + ] " + name + trip + " (" + text + ")", innerHTML: "<span>[ + ]</span> " + name + trip + " (" + text + ")",
href: 'javascript:;' href: 'javascript:;'
}); });
$.on(a, 'click', threadHiding.cb.show); $.on(a, 'click', threadHiding.cb.show);

View File

@ -614,7 +614,7 @@ replyHiding =
name = $('.commentpostername', reply).textContent name = $('.commentpostername', reply).textContent
trip = $('.postertrip', reply)?.textContent or '' trip = $('.postertrip', reply)?.textContent or ''
a = $.el 'a', a = $.el 'a',
textContent: "[ + ] #{name} #{trip}" innerHTML: "<span>[ + ]</span> #{name} #{trip}"
href: 'javascript:;' href: 'javascript:;'
$.on a, 'click', replyHiding.cb.show $.on a, 'click', replyHiding.cb.show
@ -1492,7 +1492,7 @@ threadHiding =
trip = $('.postername + .postertrip', thread)?.textContent or '' trip = $('.postername + .postertrip', thread)?.textContent or ''
a = $.el 'a', a = $.el 'a',
textContent: "[ + ] #{name}#{trip} (#{text})" innerHTML: "<span>[ + ]</span> #{name}#{trip} (#{text})"
href: 'javascript:;' href: 'javascript:;'
$.on a, 'click', threadHiding.cb.show $.on a, 'click', threadHiding.cb.show