Use the APP toolbar in profile

This commit is contained in:
yflory
2017-07-12 18:34:16 +02:00
parent 2d509e3e25
commit ac684a8dc7
11 changed files with 189 additions and 146 deletions

View File

@@ -1657,7 +1657,7 @@ define([
content: Messages.user_rename
});
}
if (account && parsed && (!parsed.type || parsed.type !== 'profile')) {
if (account) {
options.push({
tag: 'a',
attributes: {'class': 'profile'},

View File

@@ -648,7 +648,7 @@ define([
window.clearInterval($spin.interval);
typing = -1;
$spin.text(Messages.saved);
}, /*local ? 0 :*/ SPINNER_DISAPPEAR_TIME);
}, local ? 0 : SPINNER_DISAPPEAR_TIME);
};
if (Cryptpad) {
Cryptpad.whenRealtimeSyncs(config.realtime, onSynced);