diff --git a/src/components/lib/context.js b/src/components/lib/context.js index 4d54387..4ed5869 100644 --- a/src/components/lib/context.js +++ b/src/components/lib/context.js @@ -8,6 +8,7 @@ import { ensureFutureMonth } from './date-manipulation.js' const contextKey = {} function setLoadingCursor () { + console.log('setting up loading cursor') const loadingStyle = document.createElement('style') loadingStyle.id = 'loading-style' @@ -19,7 +20,10 @@ function setLoadingCursor () { function clearLoadingCursor () { const loadingStyle = document.getElementById('loading-style') - loadingStyle.remove() + console.log('removing loading cursor') + setTimeout(() => { + loadingStyle.remove() + }, 10000) } function setup (given, config) {