From bcd032b6f212081b36f632c75b1929dee6f9b18a Mon Sep 17 00:00:00 2001 From: Mukul Date: Tue, 14 Nov 2017 18:36:30 +0530 Subject: [PATCH] this is zoom with printpreview --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 0d1a77c..de7ed68 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -4403,34 +4403,34 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $(document).on('change', '#printPSOptions', function () { var option = $('#printPSOptions').find(":selected").text(); switch (option) { - case (option = "10%"): + case ("10%"): ResizeImage(0.1); break; - case (option = "25%"): + case ("25%"): ResizeImage(0.25); break; - case (option = "50%"): + case ("50%"): ResizeImage(0.5); break; - case (option = "75%"): + case ("75%"): ResizeImage(.75); break; - case (option = "65%"): + case ("65%"): ResizeImage(0.65); break; - case (option = "100%"): + case ("100%"): ResizeImage(1); break; - case (option = "150%"): + case ("150%"): ResizeImage(1.5); break; - case (option = "200%"): + case ("200%"): ResizeImage(2); break; - case (option = "500%"): + case ("500%"): ResizeImage(5); break; - case (option = "Auto"): + case ("Auto"): ResizeImage(0); break; default: -- libgit2 0.21.4