diff options
| author | czaks <marcin@6irc.net> | 2014-06-10 17:49:12 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-06-10 17:49:12 +0200 |
| commit | 2f55cd9897253213c862f1ae36766ebeb74b7c58 (patch) | |
| tree | 400ee30b420d814ad9da83c3bd82d0841ae01c05 /js/expand-too-long.js | |
| parent | 6716a24b6844ab2ec1ee7588f1cf024070c395ed (diff) | |
fix expand-too-long on some occasions
Diffstat (limited to 'js/expand-too-long.js')
| -rw-r--r-- | js/expand-too-long.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/expand-too-long.js b/js/expand-too-long.js index 23921eaf..0720fa75 100644 --- a/js/expand-too-long.js +++ b/js/expand-too-long.js @@ -23,7 +23,7 @@ $(function() { url: url, context: document.body, success: function(data) { - var content = $(data).find('#'+url.split('#')[1]).next().html(); + var content = $(data).find('#'+url.split('#')[1]).parent().find(".body").html(); body.html(content); } |
