1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

Fix tab freeze when inlining

Fixes ctrlcctrlv/infinity#451
This commit is contained in:
sourcerect 2015-06-04 04:19:04 -04:00 committed by czaks
parent aa98ca337e
commit 3515fdabe7

View File

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