Tagged Assets: Initial 8, load 8 more

This commit is contained in:
2018-09-20 15:27:22 +02:00
parent 7983a7b038
commit 89ea34724b
2 changed files with 3 additions and 3 deletions

View File

@@ -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) {

View File

@@ -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 %}