Migrate profile to use sframe

This commit is contained in:
yflory
2017-10-30 18:49:28 +01:00
parent 907e2cb517
commit 4250688856
7 changed files with 119 additions and 675 deletions

View File

@@ -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) {