diff --git a/filebrowser.js b/filebrowser.js index da8060a200..c0eb8bcfba 100644 --- a/filebrowser.js +++ b/filebrowser.js @@ -767,6 +767,9 @@ async function loadFileInHTML(fileEl, fileSha) { // change codeit lang cd.lang = selectedFile.lang; + // update bottom float + if (isMobile) updateFloat(); + } catch(e) { // if file is binary if (hashCode(selectedFile.content) !== hashCode(fileSizeText)) { diff --git a/service-worker.js b/service-worker.js index 77cf347b85..a0cd676fba 100644 --- a/service-worker.js +++ b/service-worker.js @@ -1,7 +1,7 @@ 'use strict'; // update cache names any time any of the cached files change -const CACHE_NAME = 'static-cache-v290'; +const CACHE_NAME = 'static-cache-v291'; // list of files to cache const FILES_TO_CACHE = [