image loading count

This commit is contained in:
cutls 2022-12-08 00:29:30 +09:00
parent fa4d42a1f0
commit f225e216e0

View File

@ -80,7 +80,7 @@ function imageXhr(id, key, murl) {
var startTime = new Date() var startTime = new Date()
const timer = setInterval(function () { const timer = setInterval(function () {
time = time + 1 time = time + 1
$('#imgsec').text(time) $('#imgsec').text(time < 5000 ? time : '?')
}, 10) }, 10)
$('#imgmodal-progress div').removeClass('determinate') $('#imgmodal-progress div').removeClass('determinate')
$('#imgmodal-progress div').addClass('indeterminate') $('#imgmodal-progress div').addClass('indeterminate')