mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Add build task in Grunt script.
Minor fixes
This commit is contained in:
parent
ea4262e954
commit
67e6084276
18 changed files with 321 additions and 129 deletions
|
|
@ -1209,7 +1209,7 @@ Utils.fakeMd5 = function(iLen)
|
|||
|
||||
while (sResult.length < iLen)
|
||||
{
|
||||
sResult += sLine.substr(window.Math.round(window.Math.random() * sLine.length), 1);
|
||||
sResult += sLine.substr(Math.round(Math.random() * sLine.length), 1);
|
||||
}
|
||||
|
||||
return sResult;
|
||||
|
|
@ -1311,7 +1311,7 @@ Utils.settingsSaveHelperSimpleFunction = function (koTrigger, oContext)
|
|||
|
||||
Utils.resizeAndCrop = function (sUrl, iValue, fCallback)
|
||||
{
|
||||
var oTempImg = new Image();
|
||||
var oTempImg = new window.Image();
|
||||
oTempImg.onload = function() {
|
||||
|
||||
var
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue