Fix duplicated text in thread watcher.
This commit is contained in:
parent
02888aac1a
commit
510aa71e81
@ -14689,7 +14689,6 @@
|
|||||||
$.on(x, 'click', ThreadWatcher.cb.rm);
|
$.on(x, 'click', ThreadWatcher.cb.rm);
|
||||||
link = $.el('a', {
|
link = $.el('a', {
|
||||||
href: "/" + boardID + "/thread/" + threadID,
|
href: "/" + boardID + "/thread/" + threadID,
|
||||||
textContent: data.excerpt,
|
|
||||||
title: data.excerpt,
|
title: data.excerpt,
|
||||||
className: 'watcher-link'
|
className: 'watcher-link'
|
||||||
});
|
});
|
||||||
@ -14701,7 +14700,7 @@
|
|||||||
$.prepend(link, count);
|
$.prepend(link, count);
|
||||||
}
|
}
|
||||||
title = $.el('span', {
|
title = $.el('span', {
|
||||||
textContent: link.textContent,
|
textContent: data.excerpt,
|
||||||
className: 'watcher-title'
|
className: 'watcher-title'
|
||||||
});
|
});
|
||||||
$.add(link, title);
|
$.add(link, title);
|
||||||
|
|||||||
@ -14712,7 +14712,6 @@
|
|||||||
$.on(x, 'click', ThreadWatcher.cb.rm);
|
$.on(x, 'click', ThreadWatcher.cb.rm);
|
||||||
link = $.el('a', {
|
link = $.el('a', {
|
||||||
href: "/" + boardID + "/thread/" + threadID,
|
href: "/" + boardID + "/thread/" + threadID,
|
||||||
textContent: data.excerpt,
|
|
||||||
title: data.excerpt,
|
title: data.excerpt,
|
||||||
className: 'watcher-link'
|
className: 'watcher-link'
|
||||||
});
|
});
|
||||||
@ -14724,7 +14723,7 @@
|
|||||||
$.prepend(link, count);
|
$.prepend(link, count);
|
||||||
}
|
}
|
||||||
title = $.el('span', {
|
title = $.el('span', {
|
||||||
textContent: link.textContent,
|
textContent: data.excerpt,
|
||||||
className: 'watcher-title'
|
className: 'watcher-title'
|
||||||
});
|
});
|
||||||
$.add(link, title);
|
$.add(link, title);
|
||||||
|
|||||||
@ -253,7 +253,6 @@ ThreadWatcher =
|
|||||||
|
|
||||||
link = $.el 'a',
|
link = $.el 'a',
|
||||||
href: "/#{boardID}/thread/#{threadID}"
|
href: "/#{boardID}/thread/#{threadID}"
|
||||||
textContent: data.excerpt
|
|
||||||
title: data.excerpt
|
title: data.excerpt
|
||||||
className: 'watcher-link'
|
className: 'watcher-link'
|
||||||
|
|
||||||
@ -264,7 +263,7 @@ ThreadWatcher =
|
|||||||
$.prepend link, count
|
$.prepend link, count
|
||||||
|
|
||||||
title = $.el 'span',
|
title = $.el 'span',
|
||||||
textContent: link.textContent
|
textContent: data.excerpt
|
||||||
className: 'watcher-title'
|
className: 'watcher-title'
|
||||||
$.add link, title
|
$.add link, title
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user