From f3fa854074ddeb2a3b89934ffa9d978f29f7bbc0 Mon Sep 17 00:00:00 2001 From: cutls Date: Sat, 9 Nov 2019 14:40:46 +0900 Subject: [PATCH] fix --- app/js/ui/img.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/js/ui/img.js b/app/js/ui/img.js index 2ed1f19f..1d919cb4 100644 --- a/app/js/ui/img.js +++ b/app/js/ui/img.js @@ -37,8 +37,6 @@ function imgv(id, key, acct_id) { } //イメージビューワーの送り function imgCont(type) { - $('#imgprog').text(0) - $('#imgsec').text(0) var key = $('#imagemodal').attr('data-key') var id = $('#imagemodal').attr('data-id') if (type == 'next') { @@ -59,6 +57,8 @@ function imgCont(type) { murl = ourl } if (murl) { + $('#imgprog').text(0) + $('#imgsec').text(0) $('#imgmodal').attr('src', '../../img/loading.svg') var type = $('#' + id + '-image-' + key).attr('data-type') $(document).ready(function() {