diff --git a/client/data.js b/client/data.js index 6a5d0c4f..bd6fe350 100644 --- a/client/data.js +++ b/client/data.js @@ -18,7 +18,7 @@ angular.module("hudozhka.data", []) email: "hudozka@gmail.com", address: ["г. Шлиссельбург", "ул. 18 января", "д. 3"] .reduce(function(address, item){ - return address + ' ' + item.replace(' ', String.fromCharCode(0xA0)); + return address + (address == '' ? '' : ' ') + item.replace(' ', String.fromCharCode(0xA0)); }, '') }; }); \ No newline at end of file