Skip to content

Commit 91b89f7

Browse files
authored
Merge pull request #1059 from ltb-project/1058-background-image-jagged-in-css
Fix CSS background
2 parents 6260170 + 3afa0d4 commit 91b89f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

htdocs/js/self-service-password.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ $(document).ready(function(){
44
background_url = $("#background_url").data('backgroundurl');
55
if (typeof background_url !== 'undefined' && background_url != "")
66
{
7-
$("html, body").css("background", "url(" + background_url + ")");
8-
$("html, body").css("background-size", "cover");
7+
$("body").css("background", "transparent");
8+
$("html").css("background", "url(" + background_url + ")");
9+
$("html").css("background-size", "cover");
910
}
1011

1112
// Menu links popovers

0 commit comments

Comments
 (0)