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:
authorAayush <aayushism12@gmail.com>2015-02-02 09:24:22 +0300
committerAayush <aayushism12@gmail.com>2015-02-02 09:24:22 +0300
commit0768e385082bd231da3d37a87024a0aea7be217f (patch)
tree33679ad3a5af652c74760fec2f704306ba487361 /js/makegrid.js
parent6a45dfc6ecc5f683343c06e2b61102be444b6bd0 (diff)
bugs#3935 Table Header issue in Safari 5.0.5
Signed-off-by: Aayush Anand aayushism12@gmail.com
Diffstat (limited to 'js/makegrid.js')
-rw-r--r--js/makegrid.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/makegrid.js b/js/makegrid.js
index 04a5375984..81c79769a1 100644
--- a/js/makegrid.js
+++ b/js/makegrid.js
@@ -254,7 +254,9 @@ 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]);
- $($resizeHandles[n]).css('left', $col.position().left + $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')) {
$($resizeHandles[n]).addClass('condition');