mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-10-08 20:56:03 +08:00
Allows zooming in on mobile and tablet devices.
This commit is contained in:
parent
d20a6c2ddc
commit
c99349fc03
7 changed files with 14 additions and 9 deletions
|
@ -444,7 +444,6 @@ Utils.replySubjectAdd = function (sPrefix, sSubject, bFixLongSubject)
|
|||
!Utils.isUnd(oMatch[1]) && !Utils.isUnd(oMatch[2]) && !Utils.isUnd(oMatch[3]))
|
||||
{
|
||||
sResult = oMatch[1] + (Utils.pInt(oMatch[2]) + 1) + oMatch[3];
|
||||
sResult = oMatch[1] + (Utils.pInt(oMatch[2]) + 1) + oMatch[3];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -452,7 +451,9 @@ Utils.replySubjectAdd = function (sPrefix, sSubject, bFixLongSubject)
|
|||
}
|
||||
|
||||
sResult = sResult.replace(/[\s]+/g, ' ');
|
||||
return (Utils.isUnd(bFixLongSubject) ? true : bFixLongSubject) ? Utils.fixLongSubject(sResult) : sResult;
|
||||
sResult = (Utils.isUnd(bFixLongSubject) ? true : bFixLongSubject) ? Utils.fixLongSubject(sResult) : sResult;
|
||||
// sResult = sResult.replace(/^(Re|Fwd)[\s]?\[[\d]+\]:/ig, '$1:');
|
||||
return sResult;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="viewport" content="user-scalable=no" />
|
||||
<meta name="viewport" content="width=950,minimum-scale=1,maximum-scale=2">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="0; URL={{BaseAppIndexFile}}?/NoScript" />
|
||||
|
|
|
@ -78,6 +78,8 @@
|
|||
.replace(/>/gi, '>')
|
||||
.replace(/</gi, '<')
|
||||
.replace(/&/gi, '&')
|
||||
.replace(/'/gi, '\'')
|
||||
.replace(/&#\d{2,5};/gi, '')
|
||||
.replace(/&\w{2,6};/gi, '')
|
||||
;
|
||||
|
||||
|
|
|
@ -1133,7 +1133,6 @@ Utils.replySubjectAdd = function (sPrefix, sSubject, bFixLongSubject)
|
|||
!Utils.isUnd(oMatch[1]) && !Utils.isUnd(oMatch[2]) && !Utils.isUnd(oMatch[3]))
|
||||
{
|
||||
sResult = oMatch[1] + (Utils.pInt(oMatch[2]) + 1) + oMatch[3];
|
||||
sResult = oMatch[1] + (Utils.pInt(oMatch[2]) + 1) + oMatch[3];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1141,7 +1140,9 @@ Utils.replySubjectAdd = function (sPrefix, sSubject, bFixLongSubject)
|
|||
}
|
||||
|
||||
sResult = sResult.replace(/[\s]+/g, ' ');
|
||||
return (Utils.isUnd(bFixLongSubject) ? true : bFixLongSubject) ? Utils.fixLongSubject(sResult) : sResult;
|
||||
sResult = (Utils.isUnd(bFixLongSubject) ? true : bFixLongSubject) ? Utils.fixLongSubject(sResult) : sResult;
|
||||
// sResult = sResult.replace(/^(Re|Fwd)[\s]?\[[\d]+\]:/ig, '$1:');
|
||||
return sResult;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
2
rainloop/v/0.0.0/static/js/admin.min.js
vendored
2
rainloop/v/0.0.0/static/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1133,7 +1133,6 @@ Utils.replySubjectAdd = function (sPrefix, sSubject, bFixLongSubject)
|
|||
!Utils.isUnd(oMatch[1]) && !Utils.isUnd(oMatch[2]) && !Utils.isUnd(oMatch[3]))
|
||||
{
|
||||
sResult = oMatch[1] + (Utils.pInt(oMatch[2]) + 1) + oMatch[3];
|
||||
sResult = oMatch[1] + (Utils.pInt(oMatch[2]) + 1) + oMatch[3];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1141,7 +1140,9 @@ Utils.replySubjectAdd = function (sPrefix, sSubject, bFixLongSubject)
|
|||
}
|
||||
|
||||
sResult = sResult.replace(/[\s]+/g, ' ');
|
||||
return (Utils.isUnd(bFixLongSubject) ? true : bFixLongSubject) ? Utils.fixLongSubject(sResult) : sResult;
|
||||
sResult = (Utils.isUnd(bFixLongSubject) ? true : bFixLongSubject) ? Utils.fixLongSubject(sResult) : sResult;
|
||||
// sResult = sResult.replace(/^(Re|Fwd)[\s]?\[[\d]+\]:/ig, '$1:');
|
||||
return sResult;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
2
rainloop/v/0.0.0/static/js/app.min.js
vendored
2
rainloop/v/0.0.0/static/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue