1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-16 19:08:38 +01:00

Merge pull request #214 from 7185/master

Fix selector in inline.js
This commit is contained in:
Fredrick Brennan 2014-10-30 20:47:21 +08:00
commit 5dfc7735ab

View File

@ -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)