From 89ea34724b92806a53d6443df15fc80503399d92 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Thu, 20 Sep 2018 15:27:22 +0200 Subject: [PATCH] Tagged Assets: Initial 8, load 8 more --- src/scripts/tagged_assets.js | 4 ++-- src/templates/production.pug | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scripts/tagged_assets.js b/src/scripts/tagged_assets.js index f984c87..74395ef 100644 --- a/src/scripts/tagged_assets.js +++ b/src/scripts/tagged_assets.js @@ -3,8 +3,8 @@ */ (function($) { /* How many nodes to load initially, and when clicked on the 'Load Next' link. */ - const LOAD_INITIAL_COUNT = 5; - const LOAD_NEXT_COUNT = 3; + const LOAD_INITIAL_COUNT = 8; + const LOAD_NEXT_COUNT = 8; /* Renders a node as an asset card, returns a jQuery object. */ function renderAsset(node) { diff --git a/src/templates/production.pug b/src/templates/production.pug index 65c108e..695f124 100644 --- a/src/templates/production.pug +++ b/src/templates/production.pug @@ -23,7 +23,7 @@ script(src="{{ url_for('static_cloud', filename='assets/js/tagged_assets.min.js' script. $(function() { - $('.js-asset-list').loadTaggedAssets(4, 4); + $('.js-asset-list').loadTaggedAssets(8, 8); }); | {% endblock %} | {% block body %}