fixes for loadmore style
This commit is contained in:
parent
5ecf741921
commit
e47ac0594a
1 changed files with 6 additions and 6 deletions
|
@ -48,8 +48,8 @@
|
||||||
</div>
|
</div>
|
||||||
{/foreach} -->
|
{/foreach} -->
|
||||||
</div>
|
</div>
|
||||||
<div class="clearfix">
|
<div class="clearfix text-center">
|
||||||
<button id="featured_load_more" class="btn btn-primary btn-block" loadtype="video" loadmode="featured" loadlimit="2" loadhit="1">Load More</button>
|
<button id="featured_load_more" class="btn btn-loadmore" loadtype="video" loadmode="featured" loadlimit="2" loadhit="1">Load More</button>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -64,8 +64,8 @@
|
||||||
</div>
|
</div>
|
||||||
{/foreach} -->
|
{/foreach} -->
|
||||||
</div>
|
</div>
|
||||||
<div class="clearfix">
|
<div class="clearfix text-center">
|
||||||
<button id="recent_load_more" class="btn btn-primary col-md-12 col-sm-12" loadtype="video" loadmode="recent" loadlimit="8" loadhit="1">Load More</button>
|
<button id="recent_load_more" class="btn btn-loadmore" loadtype="video" loadmode="recent" loadlimit="8" loadhit="1">Load More</button>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
@ -292,11 +292,11 @@
|
||||||
if (loadMode == 'recent') {
|
if (loadMode == 'recent') {
|
||||||
$('#recent_load_more').remove();
|
$('#recent_load_more').remove();
|
||||||
$('#recent_vids_sec').append(data);
|
$('#recent_vids_sec').append(data);
|
||||||
$('#recent_vids_sec').append('<button id="recent_load_more" class="btn btn-primary col-md-12 col-sm-12" loadtype="video" loadmode="recent" loadlimit="8" loadhit="'+newloadHit+'">Load More</button>');
|
$('#recent_vids_sec').append('<button id="recent_load_more" class="btn btn-loadmore" loadtype="video" loadmode="recent" loadlimit="8" loadhit="'+newloadHit+'">Load More</button>');
|
||||||
} else {
|
} else {
|
||||||
$('#featured_load_more').remove();
|
$('#featured_load_more').remove();
|
||||||
$('#featured_vid_sec').append(data);
|
$('#featured_vid_sec').append(data);
|
||||||
$('#featured_vid_sec').append('<button id="featured_load_more" class="btn btn-primary col-md-12 col-sm-12" loadtype="video" loadmode="featured" loadlimit="2" loadhit="'+newloadHit+'">Load More</button>');
|
$('#featured_vid_sec').append('<button id="featured_load_more" class="btn btn-loadmore" loadtype="video" loadmode="featured" loadlimit="2" loadhit="'+newloadHit+'">Load More</button>');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue