1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-19 20:23:17 +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

@ -139,7 +139,7 @@ $(document).ready(function() {
if (App.options.get('useInlining')) {
var assign_inline = function() {
$('.body a:not([rel]), .mentioned a')
$('.body a[href*="'+location.pathname+'"]:not([rel]):not(.toolong a), .mentioned a')
.attr('onclick', null)// XXX disable highlightReply
.off('click')
.click(inline)