BUG-14022 Cut frame with user experience mobile, switchable IMPROVEMENT

- Style not allowed.
    - A validation was added for version ie 8-10-11 in file index.html
This commit is contained in:
Marco Antonio Nina
2014-09-04 11:40:29 -04:00
parent a6ac05059a
commit 9317b81261
3 changed files with 5 additions and 5 deletions

View File

@@ -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;');
}

View File

@@ -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;');
}