Tagged Assets: Support passing arguments
Pass LOAD_INITIAL_COUNT and LOAD_NEXT_COUNT Also only show 'Load more' if LOAD_NEXT_COUNT is not set to 0
This commit is contained in:
@@ -7,7 +7,7 @@ script(src="{{ url_for('static_cloud', filename='assets/js/tagged_assets.min.js'
|
||||
|
||||
script.
|
||||
$(function() {
|
||||
$('.js-asset-list').loadTaggedAssets();
|
||||
$('.js-asset-list').loadTaggedAssets(5, 3);
|
||||
})
|
||||
| {% endblock %}
|
||||
| {% block body %}
|
||||
|
Reference in New Issue
Block a user