diff --git a/client/js/journeyView.js b/client/js/journeyView.js index 8d0da64..9ab0c0b 100644 --- a/client/js/journeyView.js +++ b/client/js/journeyView.js @@ -216,7 +216,7 @@ export const journeyView = async (match) => { const reloadJourney = async (reqId, journeyId) => { document.querySelector('.reload').classList.add('spinning'); try { - let request = await get("/refreshJourney", {"reqId": reqId, "journeyId": journeyId}); + let request = await get("/refreshJourney", {"reqId": reqId, "journeyId": journeyId}, true); addCache('journeys', request); journeyView([reqId, journeyId]); } catch(err) { diff --git a/client/style.css b/client/style.css index 725f6ce..253a638 100755 --- a/client/style.css +++ b/client/style.css @@ -78,6 +78,9 @@ header { height: 120px; animation: spin 2s linear infinite; } +.spinning { + animation: spin 2s linear infinite; +} @keyframes spin { 0% { transform: rotate(0deg); }