Fixed issue #175

This commit is contained in:
Knut Erik Hollund 2015-05-19 21:14:10 +02:00
parent c3e2a0d19a
commit d6760d02dd

View File

@ -434,7 +434,7 @@ function changeDesign(obj) {
}
// background image
if(obj.background_image.length > 0) {
if(typeof obj.background_image != 'undefined' && obj.background_image.length > 0) {
$('body').css('background-image','url(\'' + obj.background_image + '\')');
}
else {