diff --git a/src/js/core.js b/src/js/core.js index 5218dd9b6..cb5e2604d 100644 --- a/src/js/core.js +++ b/src/js/core.js @@ -69,9 +69,11 @@ const photoBooth = (function () { api.resetTimeOut = function () { clearTimeout(timeOut); - timeOut = setTimeout(function () { - api.reloadPage(); - }, timeToLive); + if (!takingPic) { + timeOut = setTimeout(function () { + api.reloadPage(); + }, timeToLive); + } }; // reset whole thing @@ -780,8 +782,6 @@ const photoBooth = (function () { if (!$('#mySidenav').hasClass('sidenav--open')) { rotaryController.focusSet('#result'); } - - api.resetTimeOut(); }; preloadImage.src = imageUrl; @@ -792,6 +792,8 @@ const photoBooth = (function () { takingPic = false; + api.resetTimeOut(); + remoteBuzzerClient.inProgress(false); if (config.dev.enabled) {