Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
t-lock committed Aug 20, 2024
1 parent 496801f commit 226e35e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/lib/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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) {
Expand Down

0 comments on commit 226e35e

Please sign in to comment.