BUG-14022 Cut frame with user experience mobile, switchable SOLVED
- Style not allowed. - A validation was added for version ie 10-11 in file index.html
This commit is contained in:
@@ -31,13 +31,12 @@
|
||||
var h = $(window).height() - 42;
|
||||
$('iframe').height(h);
|
||||
//IE V10-V11
|
||||
if (navigator.appVersion.indexOf("MSIE 1") != -1) {
|
||||
if ((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;');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
function redirect(url)
|
||||
{
|
||||
var $iframe = $('#iframex');
|
||||
|
||||
@@ -33,11 +33,10 @@
|
||||
var h = $(window).height() - 42;
|
||||
$('iframe').height(h);
|
||||
//IE V10-V11
|
||||
if (navigator.appVersion.indexOf("MSIE 1") != -1) {
|
||||
if ((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;');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function redirect(url)
|
||||
|
||||
Reference in New Issue
Block a user