jorisvaneyghen commited on
Commit
3a86d5b
·
1 Parent(s): 004e9ac

Fix: Restore scrolling

Browse files
Files changed (2) hide show
  1. index.html +1 -0
  2. sw.js +1 -1
index.html CHANGED
@@ -818,6 +818,7 @@
818
  const fileId = item.dataset.fileId;
819
  await this.loadFileFromHandle(fileId);
820
  this.recentFilesPopup.classList.remove('active');
 
821
  }
822
  });
823
  });
 
818
  const fileId = item.dataset.fileId;
819
  await this.loadFileFromHandle(fileId);
820
  this.recentFilesPopup.classList.remove('active');
821
+ document.body.style.overflow = ''; // Restore scrolling
822
  }
823
  });
824
  });
sw.js CHANGED
@@ -1,5 +1,5 @@
1
  // Use a version that you can update with each release
2
- const APP_VERSION = '0.1.7';
3
  const CACHE_NAME = `my-pwa-cache-${APP_VERSION}`;
4
 
5
  // List of files to cache
 
1
  // Use a version that you can update with each release
2
+ const APP_VERSION = '0.1.8';
3
  const CACHE_NAME = `my-pwa-cache-${APP_VERSION}`;
4
 
5
  // List of files to cache