Scroll asset list
This commit is contained in:
@@ -140,7 +140,7 @@ script.
|
|||||||
// Set height of asset-list and item details so we can scroll inside them
|
// Set height of asset-list and item details so we can scroll inside them
|
||||||
$(window).on('load resize', function(){
|
$(window).on('load resize', function(){
|
||||||
var window_height = $(window).height() - 50; // header is 50px
|
var window_height = $(window).height() - 50; // header is 50px
|
||||||
$('#asset-list').css({'height': window_height});
|
$('#shot-list').css({'height': window_height});
|
||||||
$('#item-details').css({'height': window_height});
|
$('#item-details').css({'height': window_height});
|
||||||
});
|
});
|
||||||
| {% endblock footer_scripts %}
|
| {% endblock footer_scripts %}
|
||||||
|
Reference in New Issue
Block a user