From 594191091d7e37eb21a1f76b13db3bdb898e9944 Mon Sep 17 00:00:00 2001 From: James Campos Date: Sun, 8 May 2011 23:36:15 -0700 Subject: [PATCH] thread.op --- script.coffee | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/script.coffee b/script.coffee index 264594e80..fabe37a3c 100644 --- a/script.coffee +++ b/script.coffee @@ -974,7 +974,7 @@ threading = threading.thread node $.unbind d, 'DOMNodeInserted', threading.stopPropagation - thread: (node) -> + op: (node) -> op = $.el 'div', className: 'op' $.before node, op @@ -983,11 +983,13 @@ threading = node = op.nextSibling $.append op, node #add the blockquote op.id = $('input[name]', op).name + op + + thread: (node) -> + node = thread.op node return if g.REPLY - node = op - div = $.el 'div', className: 'thread' $.before node, div