From 50d2c079e20bb2c0032b0ad2a2a5d8e7c0dceac1 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Mon, 2 Feb 2015 13:37:01 +0300 Subject: [PATCH] Bugfixes Fixed opacity for modal arrow Fixed empty last name during registration --- app/css/desktop.css | 2 +- app/js/controllers.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/css/desktop.css b/app/css/desktop.css index aa88269e..b2cc8bd9 100644 --- a/app/css/desktop.css +++ b/app/css/desktop.css @@ -1586,7 +1586,7 @@ div.im_dialog_photo .peer_initials { background-size: 40px 200px; width: 16px; height: 24px; - opacity: 0.3; + opacity: 0.15; position: absolute; top: 50%; pointer-events: none; diff --git a/app/js/controllers.js b/app/js/controllers.js index 2fe94653..f937720f 100644 --- a/app/js/controllers.js +++ b/app/js/controllers.js @@ -273,8 +273,8 @@ angular.module('myApp.controllers', ['myApp.i18n']) if (forceSignUp) { method = 'auth.signUp'; angular.extend(params, { - first_name: $scope.credentials.first_name, - last_name: $scope.credentials.last_name + first_name: $scope.credentials.first_name || '', + last_name: $scope.credentials.last_name || '' }); }