fixes background image flashing full size when page loads
This commit is contained in:
parent
ae13afa445
commit
a0fea7e99c
|
@ -22,6 +22,7 @@ model-viewer {
|
|||
height: 500px;
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
visibility: hidden;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
@ -68,6 +69,12 @@ model-viewer {
|
|||
<script type="module" src="/modules/Render3D/asset/vendor/google/model-viewer.js"></script>
|
||||
|
||||
|
||||
<script>
|
||||
$( document ).ready(function() {
|
||||
$("model-viewer").css('visibility', 'visible')
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php
|
||||
/*
|
||||
echo $this->inlineScript()
|
||||
|
|
Loading…
Reference in New Issue