Version 3.4.5
This commit is contained in:
1 parent
fb6b5baabc
commit
e4478369d8
1360 files changed
+228921
-179445
No files matched your search
@@ -159,6 +159,10 @@ _photoEditor.prototype.photoEditor = {
|
||||
{
|
||||
ipb.global.popups['photoEditor'].hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
ipb.global.showInlineNotification( ipb.lang['success'] );
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
@@ -263,7 +267,7 @@ _photoEditor.prototype.photoEditor = {
|
||||
img.width = width;
|
||||
img.height = height;
|
||||
}
|
||||
else
|
||||
else if ( height > maxSize )
|
||||
{
|
||||
ipb.photoEditor.scaled = { 'origWidth': width, 'origHeight': height };
|
||||
|
||||
@@ -318,7 +322,8 @@ _photoEditor.prototype.photoEditor = {
|
||||
|
||||
var w = img.width;
|
||||
var h = img.height;
|
||||
var xFactor, yFactor = 1;
|
||||
var xFactor = 1;
|
||||
var yFactor = 1;
|
||||
|
||||
if ( w < ipb.photoEditor.scaled['origWidth'] )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user