Migrate profile to use sframe
This commit is contained in:
@@ -339,6 +339,7 @@ define([
|
||||
$img.attr('src', src);
|
||||
$img.attr('data-crypto-key', 'cryptpad:' + cryptKey);
|
||||
UI.displayMediatagImage(Common, $img, function (err, $image, img) {
|
||||
if (err) { return void console.error(err); }
|
||||
var w = img.width;
|
||||
var h = img.height;
|
||||
if (w>h) {
|
||||
|
||||
@@ -168,4 +168,8 @@ define({
|
||||
// in the drive at registration.
|
||||
'Q_MERGE_ANON_DRIVE': true,
|
||||
|
||||
// Add or remove the avatar from the profile.
|
||||
// We have to pin/unpin the avatar and store/remove the value from the user object
|
||||
'Q_PROFILE_AVATAR_ADD': true,
|
||||
'Q_PROFILE_AVATAR_REMOVE': true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user