We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da5782c commit 2d7e200Copy full SHA for 2d7e200
1 file changed
resources/views/common_styles.blade.php
@@ -99,7 +99,7 @@ function addElfinderLightStylesheet() {
99
// we dont want to style the body when elfinder is loaded as a component in a backpack view
100
// we pass true when loading elfinder inside an iframe to style the iframe body.
101
// use the topbar and footbar darker color as the background to ease transitions
102
- document.getElementsByTagName('body')[0].style.background = '#061325';
103
- document.getElementsByTagName('body')[0].style.opacity = 1;
+ document.body.style.background = '#061325';
+ document.body.style.opacity = 1;
104
</script>
105
@endif
0 commit comments