forked from spen/seminar
Fix bug.
This commit is contained in:
parent
a6fde99d96
commit
f3aa2ad366
|
@ -117,7 +117,7 @@
|
||||||
var div_block = $(ele).parents(".bottomnav").parent();
|
var div_block = $(ele).parents(".bottomnav").parent();
|
||||||
var index = div_block.data("count");
|
var index = div_block.data("count");
|
||||||
$.get(href).done(function(data){
|
$.get(href).done(function(data){
|
||||||
var $d = $(data);
|
var $d = $("<div></div>").append(data);
|
||||||
div_block.html($d.find('[data-count='+index+']').html());
|
div_block.html($d.find('[data-count='+index+']').html());
|
||||||
$(".pagination a").attr("onclick","a_tag_xhr_request(this);return false;");
|
$(".pagination a").attr("onclick","a_tag_xhr_request(this);return false;");
|
||||||
adjust_height();
|
adjust_height();
|
||||||
|
|
|
@ -121,7 +121,7 @@
|
||||||
var div_block = $(ele).parents(".bottomnav").parent();
|
var div_block = $(ele).parents(".bottomnav").parent();
|
||||||
var index = div_block.data("count");
|
var index = div_block.data("count");
|
||||||
$.get(href).done(function(data){
|
$.get(href).done(function(data){
|
||||||
var $d = $(data);
|
var $d = $("<div></div>").append(data);
|
||||||
div_block.html($d.find('[data-count='+index+']').html());
|
div_block.html($d.find('[data-count='+index+']').html());
|
||||||
$(".pagination a").attr("onclick","a_tag_xhr_request(this);return false;");
|
$(".pagination a").attr("onclick","a_tag_xhr_request(this);return false;");
|
||||||
adjust_height();
|
adjust_height();
|
||||||
|
|
Loading…
Reference in New Issue