Preview the OP too.
This commit is contained in:
parent
987b77bb60
commit
8947d62dec
@ -1240,6 +1240,7 @@
|
||||
}
|
||||
$.append(op, node);
|
||||
op.id = $('input[name]', op).name;
|
||||
if (!g.REPLY) {
|
||||
node = op;
|
||||
div = $.el('div', {
|
||||
className: 'thread'
|
||||
@ -1253,6 +1254,7 @@
|
||||
if (!(node.align || node.nodeName === 'CENTER')) {
|
||||
return threading.thread(node);
|
||||
}
|
||||
}
|
||||
},
|
||||
stopPropagation: function(e) {
|
||||
return e.stopPropagation();
|
||||
@ -1707,8 +1709,7 @@
|
||||
var clientX, clientY, id, preview, target;
|
||||
target = e.target, clientX = e.clientX, clientY = e.clientY;
|
||||
preview = $('#qp');
|
||||
id = target.textContent;
|
||||
id = id.replace(">>", '');
|
||||
id = target.textContent.replace(">>", '');
|
||||
preview.innerHTML = d.getElementById(id).innerHTML;
|
||||
$.show(preview);
|
||||
$.bind(target, 'mousemove', quotePreview.mousemove);
|
||||
@ -2238,6 +2239,7 @@
|
||||
if ($.config('Keybinds')) {
|
||||
keybinds.init();
|
||||
}
|
||||
threading.init();
|
||||
if (g.REPLY) {
|
||||
if ($.config('Thread Updater')) {
|
||||
updater.init();
|
||||
@ -2258,7 +2260,6 @@
|
||||
watcher.watch(null, g.THREAD_ID);
|
||||
}
|
||||
} else {
|
||||
threading.init();
|
||||
if ($.config('Thread Hiding')) {
|
||||
threadHiding.init();
|
||||
}
|
||||
|
||||
@ -966,6 +966,7 @@ threading =
|
||||
$.append op, node #add the blockquote
|
||||
op.id = $('input[name]', op).name
|
||||
|
||||
unless g.REPLY
|
||||
node = op
|
||||
|
||||
div = $.el 'div',
|
||||
@ -1329,8 +1330,7 @@ quotePreview =
|
||||
mouseover: (e) ->
|
||||
{target, clientX, clientY} = e
|
||||
preview = $ '#qp'
|
||||
id = target.textContent
|
||||
id = id.replace ">>", ''
|
||||
id = target.textContent.replace ">>", ''
|
||||
preview.innerHTML = d.getElementById(id).innerHTML
|
||||
$.show preview
|
||||
$.bind target, 'mousemove', quotePreview.mousemove
|
||||
@ -1724,6 +1724,8 @@ main =
|
||||
if $.config 'Keybinds'
|
||||
keybinds.init()
|
||||
|
||||
threading.init()
|
||||
|
||||
if g.REPLY
|
||||
if $.config 'Thread Updater'
|
||||
updater.init()
|
||||
@ -1745,8 +1747,6 @@ main =
|
||||
watcher.watch null, g.THREAD_ID
|
||||
|
||||
else #not reply
|
||||
threading.init()
|
||||
|
||||
if $.config 'Thread Hiding'
|
||||
threadHiding.init()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user