1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-01 02:27:24 +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
parent 9087e6befe
commit acb306c7d6

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)