Index: trunk/extensions/LiquidThreads/lqt.js |
— | — | @@ -1168,6 +1168,10 @@ |
1169 | 1169 | // Now one underneath every thread except the drag thread |
1170 | 1170 | $j('.lqt_thread').not( $thread ).each( function() { |
1171 | 1171 | var $curThread = $j( this ); |
| 1172 | + // don't put any drop zones under child threads |
| 1173 | + if ( $j.contains( $thread[0], $curThread[0] ) ) return; |
| 1174 | + // don't put it right next to the thread |
| 1175 | + if ( $curThread.find( '.lqt-thread-replies:first > .lqt_thread:last' )[0] == $thread[0] ) return; |
1172 | 1176 | var repliesElement = liquidThreads.getRepliesElement( $curThread ); |
1173 | 1177 | repliesElement.contents().filter('.lqt-replies-finish').before( createDropZone( 'now', $curThread.data( 'thread-id' ) ) ); |
1174 | 1178 | } ); |