Skip to content

Commit

Permalink
Merge pull request #1638 from cubecart/revert-1619-issueMore
Browse files Browse the repository at this point in the history
Revert "Fix unable to hide 'More' pagination button"
  • Loading branch information
abrookbanks authored May 12, 2017
2 parents cd57e1c + 5b1c51f commit 4a1cd13
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions skins/foundation/templates/content.category.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,11 @@
</div>
</div>
*}
{* Add "hide-for-medium-up" to the class attribute to not display the more button *}
<div class="hide" id="ccScrollCat">
{* Add "hide-for-small-up" to the class attribute to not display the more button *}
<div class="hide" id="ccScrollCat">{$category.cat_id}</div>
{if $page!=='all' && ($page < $total)}
{$params[$var_name] = $page + 1}
<a href="{$current}{http_build_query($params)}{$anchor}" data-next-page="{$params[$var_name]}" data-cat="{$category.cat_id}" class="button tiny expand ccScroll-next">{$LANG.common.more} <svg class="icon"><use xlink:href="#icon-angle-down"></use></svg></a>
</div>
{/if}
</div>
<div class="hide" id="lang_loading">{$LANG.common.loading}</div>

0 comments on commit 4a1cd13

Please sign in to comment.