From 27fe8e4658cc8a79cfce17ac359dfdf7b41ba98b Mon Sep 17 00:00:00 2001 From: Adnan Date: Thu, 19 Aug 2010 17:32:43 +0500 Subject: [PATCH] Indenation fix in functions.js --- js/functions.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/js/functions.js b/js/functions.js index 33c8e960a..61a58f861 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1436,14 +1436,11 @@ function refreshDragOption(e) { function refreshLayout() { var elm = $('#pdflayout') var orientation = $('#orientation_opt').val(); - if($('#paper_opt').length==1) - { - var paper = $('#paper_opt').val(); - } - else - { + if($('#paper_opt').length==1){ + var paper = $('#paper_opt').val(); + }else{ var paper = 'A4'; - } + } if (orientation == 'P') { posa = 'x'; posb = 'y';