diff --git a/js/misc-functions.js b/js/misc-functions.js index 039e06d..e19abd0 100644 --- a/js/misc-functions.js +++ b/js/misc-functions.js @@ -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 {