From 88ba0c91037ea6f3279392e84e357385545ee1b6 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 15 Nov 2017 17:23:45 +0530 Subject: [PATCH] Commit Changes --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 12 ++++++++++++ 1 file changed, 12 insertions(+), 0 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index f4bd971..3fbd43e 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -627,6 +627,8 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $rootScope.lexiconLanguageArray = []; $rootScope.lexiconLanguageArray.push({ id: "1", language: "English" }); $(document).ready(function () { + + $rootScope.isLexiconTabClicked = true; $rootScope.lexiconData = function () { if ($rootScope.isLexiconTabClicked == true) { @@ -4359,7 +4361,17 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $rootScope.hidePins(); }, 100); } + $timeout(function () { + var $ua = navigator.userAgent; + if (($ua.match(/(iPod|iPhone|iPad|android)/i))) { + var printContainerWidth = $("#printcontainer").css("width"); + $("#printcontainer").css({ "width": "100%", "min-width": printContainerWidth }); + var jspanelContainerWidth = $("#jsPanel-1 .jsPanel-content").css("width"); + $("#jsPanel-1 .jsPanel-content").css({ "width": "100%", "min-width": jspanelContainerWidth }); + $("#jsPanel-1").css("width", "100%"); + } + }, 500) }; function OpenJSPanel() { -- libgit2 0.21.4