hide new feature until it is finished

This commit is contained in:
ansuz
2017-08-04 18:07:47 +02:00
parent 244f436f6e
commit 05aa5ed347
4 changed files with 92 additions and 37 deletions

View File

@@ -42,13 +42,16 @@ define([
Cryptpad.alert(Messages.common_connectionLost, undefined, true);
Cryptpad.enableMessaging(false);
});
Cryptpad.getProxy().on('reconnect', function () {
Cryptpad.getProxy().on('reconnect', function (uid) {
console.error('reconnecting: ', uid);
Cryptpad.findOKButton().click();
Cryptpad.enableMessaging(true);
Cryptpad.getLatestMessages();
APP.messenger.cleanFriendChannels();
APP.messenger.openFriendChannels();
APP.messenger.setEditable(true);
});
Cryptpad.initMessaging(Cryptpad, $list, $messages);
APP.messenger = Cryptpad.initMessaging(Cryptpad, $list, $messages);
var $infoBlock = $('<div>', {'class': 'info'}).appendTo($messages);
$('<h2>').text(Messages.contacts_info1).appendTo($infoBlock);

View File

@@ -169,7 +169,8 @@ body {
margin: 10px;
}
.more-history {
.hover;
display: none;
//.hover;
}
}
.chat {