Merge pull request #176 from knuthollund/master

Fixed issue #175
This commit is contained in:
Hannes Mannerheim 2015-05-20 18:28:42 +02:00
commit 1c44f57cd7

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 {