Fix button and img visibility before model

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
2024-11-01 11:33:45 -07:00
parent df11f0c54b
commit b786964a89
2 changed files with 13 additions and 6 deletions

View File

@@ -1,6 +1,10 @@
let slideShowInterval = null
let grabHotspot = null
modelLoaded = function() {
$('.awaiting-model').css('display', 'flex').removeClass('awaiting-model')
}
/**
* Sets listener and attributes on model-viewer to
* allow for click registering of a new hotspot