From 0b1c67574adc0bab830d0929539ad87a813251f3 Mon Sep 17 00:00:00 2001 From: 7185 <7185@users.noreply.github.com> Date: Mon, 27 Oct 2014 19:13:30 +0100 Subject: [PATCH] Fix selector in inline.js Should make >>>/crossboard/links (and expanding links) work again --- js/inline.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/inline.js b/js/inline.js index 4f8c9a72..53865d90 100644 --- a/js/inline.js +++ b/js/inline.js @@ -138,8 +138,8 @@ $(document).ready(function() { // don't attach to outbound links if (App.options.get('useInlining')) { - var assign_inline = function() { - $('.body a:not([rel]), .mentioned a') + var assign_inline = function() { + $('.body a[href*="'+location.pathname+'"]:not([rel]):not(.toolong a), .mentioned a') .attr('onclick', null)// XXX disable highlightReply .off('click') .click(inline)