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 b8efa19 commit bec67c9Copy full SHA for bec67c9
1 file changed
resources/views/common_styles.blade.php
@@ -81,7 +81,7 @@ function addElfinderLightStylesheet() {
81
// we dont want to style the body when elfinder is loaded as a component in a backpack view
82
// we pass true when loading elfinder inside an iframe to style the iframe body.
83
// use the topbar and footbar darker color as the background to ease transitions
84
- document.getElementsByTagName('body')[0].style.background = '#061325';
85
- document.getElementsByTagName('body')[0].style.opacity = 1;
+ document.body.style.background = '#061325';
+ document.body.style.opacity = 1;
86
</script>
87
@endif
0 commit comments