[ContactsExchanger] updated ContactsExchanger sources
[samples/web/ContactsExchanger.git] / js / app.ui.js
index ae74334..971268c 100644 (file)
@@ -112,7 +112,6 @@ App.Ui = null;
                        $('#content-start').trigger('create');
                        this.app.countDown(10, $('#counter'));
                        this.verticalCenter($('#waitingBox'));
-                       $('#waitingBox').show();
                },
 
                /**
@@ -532,6 +531,7 @@ App.Ui = null;
                                if (self.app.started) {
                                        self.loadStartPage();
                                }
+                               self.verticalCenter($('#startBox'));
                        });
 
                        $('#start').on('pageshow', function () {
@@ -539,7 +539,6 @@ App.Ui = null;
                                if (monit !== '' && monit !== undefined) {
                                        self.showPopup(obj.data('monit'), obj);
                                }
-                               self.verticalCenter($('#startBox'));
                        });
 
                        $('#start').one('pageshow', function () {