diff --git a/js/ui.js b/js/ui.js index be8fa03..2b84d94 100644 --- a/js/ui.js +++ b/js/ui.js @@ -3104,8 +3104,7 @@ function centreSpec(){ goToRegion = true, metadata = undefined }) { - fileLoaded = true, locationID = location; - + fileLoaded = true, clearTimeout(loadingTimeout) // Clear the loading animation DOM.loading.classList.add('d-none'); @@ -3126,6 +3125,8 @@ function centreSpec(){ buffer: currentBuffer, play: true, resetSpec: false, queued: false } } else { + locationID = location; + bufferBegin = fileBegin; NEXT_BUFFER = undefined; if (STATE.currentFile !== file) { STATE.currentFile = file; diff --git a/package.json b/package.json index 21849d6..07983fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chirpity", - "version": "2.4.6", + "version": "2.4.7", "description": "Chirpity Nocmig", "main": "main.js", "scripts": {