Merged in marcoAntonioNina/processmaker/BUG-14022 (pull request #747)
BUG-14022 Cut frame with user experience mobile, switchable IMPROVEMENT
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
{
|
||||
var h = $(window).height() - 42;
|
||||
$('iframe').height(h);
|
||||
//IE V10-V11
|
||||
if ((navigator.appVersion.indexOf("MSIE 1") != -1) || (!!(navigator.userAgent.match(/Trident/) && !navigator.userAgent.match(/MSIE/)))) {
|
||||
//IE V8-V10-V11
|
||||
if ((navigator.appVersion.indexOf("MSIE 8") != -1) || (navigator.appVersion.indexOf("MSIE 1") != -1) || (!!(navigator.userAgent.match(/Trident/) && !navigator.userAgent.match(/MSIE/)))) {
|
||||
h = $('iframe').attr('style');
|
||||
$('iframe').attr('style', h+' padding-top : 40px;');
|
||||
}
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
{
|
||||
var h = $(window).height() - 42;
|
||||
$('iframe').height(h);
|
||||
//IE V10-V11
|
||||
if ((navigator.appVersion.indexOf("MSIE 1") != -1) || (!!(navigator.userAgent.match(/Trident/) && !navigator.userAgent.match(/MSIE/)))) {
|
||||
//IE V8-V10-V11
|
||||
if ((navigator.appVersion.indexOf("MSIE 8") != -1) || (navigator.appVersion.indexOf("MSIE 1") != -1) || (!!(navigator.userAgent.match(/Trident/) && !navigator.userAgent.match(/MSIE/)))) {
|
||||
h = $('iframe').attr('style');
|
||||
$('iframe').attr('style', h+' padding-top : 40px;');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user