diff --git a/posimai-sc/js/app.js b/posimai-sc/js/app.js index fc0fe1a7..10f2424b 100644 --- a/posimai-sc/js/app.js +++ b/posimai-sc/js/app.js @@ -945,12 +945,6 @@ document.addEventListener('alpine:init', () => { this.stepDrillIdx=0; this.stepDrillAnswered=false; this.stepDrillSelected=-1; - if(this.stepStep===3){ - this.$nextTick(()=>{ - const m=document.getElementById('main'); - if(m) m.scrollTo({top:m.scrollHeight,behavior:'smooth'}); - }); - } this.$nextTick(()=>{ if(window.lucide) lucide.createIcons(); }); } }, @@ -970,11 +964,7 @@ document.addEventListener('alpine:init', () => { this.stepDrillSelected=-1; } else { this.stepStep=3; - this.$nextTick(()=>{ - if(window.lucide) lucide.createIcons(); - const m=document.getElementById('main'); - if(m) m.scrollTo({top:m.scrollHeight,behavior:'smooth'}); - }); + this.$nextTick(()=>{ if(window.lucide) lucide.createIcons(); }); } } })); diff --git a/posimai-sc/sw.js b/posimai-sc/sw.js index 18154280..81448af4 100644 --- a/posimai-sc/sw.js +++ b/posimai-sc/sw.js @@ -1,5 +1,5 @@ // posimai-sc SW — same-origin の静的資産のみキャッシュ(CDN は対象外) -const CACHE = 'posimai-sc-v6'; +const CACHE = 'posimai-sc-v7'; const STATIC = [ '/', '/index.html',