Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2015-02-04 16:34:48 +0300
committerMarc Delisle <marc@infomarc.info>2015-02-04 16:34:48 +0300
commit3de60b45421831691d3972a57caaef2afe0f1c5b (patch)
tree1fa2da0e6b86f11e2da7f1d190767f860d154bce /js/makegrid.js
parent5f13ce0948e594edcb5735fca66740ef02985677 (diff)
Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
Diffstat (limited to 'js/makegrid.js')
-rw-r--r--js/makegrid.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/js/makegrid.js b/js/makegrid.js
index 81c79769a1..ff03f10e7d 100644
--- a/js/makegrid.js
+++ b/js/makegrid.js
@@ -254,8 +254,11 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
$('table.pma_table').find('thead th:first').removeClass('before-condition');
for (var n = 0, l = $firstRowCols.length; n < l; n++) {
var $col = $($firstRowCols[n]);
- if ($.browser.safari) var colWidth = $col.outerWidth();
- else var colWidth = $col.outerWidth(true);
+ if ($.browser.safari) {
+ var colWidth = $col.outerWidth();
+ } else {
+ var colWidth = $col.outerWidth(true);
+ }
$($resizeHandles[n]).css('left', $col.position().left + colWidth)
.show();
if ($col.hasClass('condition')) {