This commit is contained in:
cutls 2019-11-09 14:40:46 +09:00
parent 714feca455
commit f3fa854074

View File

@ -37,8 +37,6 @@ function imgv(id, key, acct_id) {
} }
//イメージビューワーの送り //イメージビューワーの送り
function imgCont(type) { function imgCont(type) {
$('#imgprog').text(0)
$('#imgsec').text(0)
var key = $('#imagemodal').attr('data-key') var key = $('#imagemodal').attr('data-key')
var id = $('#imagemodal').attr('data-id') var id = $('#imagemodal').attr('data-id')
if (type == 'next') { if (type == 'next') {
@ -59,6 +57,8 @@ function imgCont(type) {
murl = ourl murl = ourl
} }
if (murl) { if (murl) {
$('#imgprog').text(0)
$('#imgsec').text(0)
$('#imgmodal').attr('src', '../../img/loading.svg') $('#imgmodal').attr('src', '../../img/loading.svg')
var type = $('#' + id + '-image-' + key).attr('data-type') var type = $('#' + id + '-image-' + key).attr('data-type')
$(document).ready(function() { $(document).ready(function() {