re-setting the number of items displayed per property before the more link from 3 to 5
This commit is contained in:
parent
f93b025963
commit
831de3cb7e
1 changed files with 3 additions and 3 deletions
|
@ -47,7 +47,7 @@ $(document).ready(function(){
|
||||||
// var $propList = $('.property-list').not('>li>ul');
|
// var $propList = $('.property-list').not('>li>ul');
|
||||||
var $propList = $('.property-list:not(:has(>li>ul))');
|
var $propList = $('.property-list:not(:has(>li>ul))');
|
||||||
$propList.each(function() {
|
$propList.each(function() {
|
||||||
var $additionalItems = $(this).find('li:gt(2)');
|
var $additionalItems = $(this).find('li:gt(4)');
|
||||||
if ( $additionalItems.exists() ) {
|
if ( $additionalItems.exists() ) {
|
||||||
// create container for additional elements
|
// create container for additional elements
|
||||||
var $itemContainer = $('<div class="additionalItems" />').appendTo(this);
|
var $itemContainer = $('<div class="additionalItems" />').appendTo(this);
|
||||||
|
@ -65,7 +65,7 @@ $(document).ready(function(){
|
||||||
|
|
||||||
var $subPropList = $('.subclass-property-list');
|
var $subPropList = $('.subclass-property-list');
|
||||||
$subPropList.each(function() {
|
$subPropList.each(function() {
|
||||||
var $additionalItems = $(this).find('li:gt(2)');
|
var $additionalItems = $(this).find('li:gt(4)');
|
||||||
if ( $additionalItems.exists() ) {
|
if ( $additionalItems.exists() ) {
|
||||||
// create container for additional elements
|
// create container for additional elements
|
||||||
var $itemContainer = $('<div class="additionalItems" />').appendTo(this);
|
var $itemContainer = $('<div class="additionalItems" />').appendTo(this);
|
||||||
|
@ -145,4 +145,4 @@ $(document).ready(function(){
|
||||||
$('#qrCodeImage').toggleClass('hidden');
|
$('#qrCodeImage').toggleClass('hidden');
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue