Commit 4562049d authored by echel0n's avatar echel0n

Refactored JS to display show grid after images loaded.

parent 222c3ed4
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -81,11 +81,10 @@ $(document).ready(function ($) {
$("table tbody").prepend($(msg.data.item));
$("table").trigger("update", [true]);
} else if (msg.data.action === 'load_show_grid') {
$('#indicatorContainer').remove();
$grid.removeClass('d-none');
$grid.imagesLoaded(function () {
$('#indicatorContainer').remove();
$grid.removeClass('d-none');
SICKRAGE.resizePosters(parseInt(localStorage.posterSize || 188));
$grid
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment