The Quote and Reply buttons both Quote the parent

Kingopants·8/29/2015, 2:08:15 AM·1 votes·593 views

So I'm trying to use the boards but a small bug is really annoying the heck out of me, Basically whenever I use the Reply button it quotes the parent although that should only really happen if I use the Quote button.

using the inspect element

<li data-bind="visible: !showConfirmDelete() && !replies.isReplying()">
              <a class="toggle-reply-form" href="javascript:;" data-bind="click: function(m, e){replies.respondToQuote(m, e); var t=jQuery(e.target).closest(".nested-comment").find("> .reply textarea"); t.textrange("setcursor", t.val().length); t.keyup(); t.change(); }">
                Reply
              </a>
            </li>

This is the Reply button code

<li data-bind="visible: !showConfirmDelete() && !replies.isReplying()">
              <a class="toggle-reply-form" href="javascript:;" data-bind="click: function(m, e){replies.respondToQuote(m, e); var t=jQuery(e.target).closest(".nested-comment").find("> .reply textarea"); t.textrange("setcursor", t.val().length); t.keyup(); t.change(); }">
                Quote
              </a>
                      </li>

This is the Quote button code Both boxes have the exact same Code in them.

0 Comments