added 'fixed' property to background so that it does not scroll

This commit is contained in:
Anand Doshi 2012-10-02 19:13:04 +05:30
parent 079df382f9
commit a4cc383625

View File

@ -143,7 +143,8 @@ erpnext.startup.set_periodic_updates = function() {
}
erpnext.set_user_background = function(src) {
set_style(repl('#body_div { background: url("files/%(src)s") repeat;}', {src:src}))
set_style(repl('#body_div { background: url("files/%(src)s") repeat fixed;}',
{src:src}))
}
// subject, sender, description