Allows zooming in on mobile and tablet devices.

This commit is contained in:
RainLoop Team 2014-02-20 15:51:33 +04:00
parent d20a6c2ddc
commit c99349fc03
7 changed files with 14 additions and 9 deletions

View file

@ -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;
};
/**

View file

@ -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" />

View file

@ -78,6 +78,8 @@
.replace(/&gt;/gi, '>')
.replace(/&lt;/gi, '<')
.replace(/&amp;/gi, '&')
.replace(/&#39;/gi, '\'')
.replace(/&#\d{2,5};/gi, '')
.replace(/&\w{2,6};/gi, '')
;

View file

@ -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;
};
/**

File diff suppressed because one or more lines are too long

View file

@ -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;
};
/**

File diff suppressed because one or more lines are too long