1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 12:23:48 +01:00

Merge pull request #507 from sourcerect/master

Fix tab freeze when inlining
This commit is contained in:
Fredrick Brennan 2015-06-05 09:57:51 +08:00
commit ff267ba711

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)