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:
authorNisarg Jhaveri <nisargjhaveri@gmail.com>2015-02-02 20:49:06 +0300
committerNisarg Jhaveri <nisargjhaveri@gmail.com>2015-02-02 20:49:06 +0300
commitf9116b514cfbec3f95c56a769e76184abf8f08ba (patch)
treeb790c421ff2862df810187a292fca4932bec1566 /js/navigation.js
parent3e05148ad637f067647373f4699a7536cb0aaaba (diff)
Remove unnecessary calculation, fix coding style
- Remove unnecessary calculation - Remove trailing spaces in `navigation.js` Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
Diffstat (limited to 'js/navigation.js')
-rw-r--r--js/navigation.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/navigation.js b/js/navigation.js
index 0a6c575b84..4a212d7ec7 100644
--- a/js/navigation.js
+++ b/js/navigation.js
@@ -165,7 +165,7 @@ $(function () {
$icon.attr('src', icon_reload_src);
}, 1000);
});
-
+
$(document).on("change", '#navi_db_select', function (event) {
$(this).closest('form').trigger('submit');
});
@@ -1111,8 +1111,7 @@ var ResizeHandler = function () {
});
}
// Set content bottom space beacuse of console
- $('body').css('margin-bottom',
- $(window).height() + $(document).scrollTop() - $('#pma_console').offset().top + 'px');
+ $('body').css('margin-bottom', $('#pma_console').height() + 'px');
};
/* Initialisation section begins here */
if ($.cookie('pma_navi_width')) {