final solution to expand-too-long problems

This commit is contained in:
czaks 2014-08-09 04:56:50 +02:00
parent 7da6f3b212
commit 1b2f512339

View File

@ -23,7 +23,7 @@ $(function() {
url: url, url: url,
context: document.body, context: document.body,
success: function(data) { success: function(data) {
var content = $(data).find('#'+url.split('#')[1]).parent().find(".body").html(); var content = $(data).find('#'+url.split('#')[1]).parent().parent().find(".body").first().html();
body.html(content); body.html(content);
} }