diff options
author | sukhtaaj <sukhtaaj@gmail.com> | 2015-04-04 20:49:14 +0300 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2015-04-08 18:27:33 +0300 |
commit | 68ef57a718466daba88d37ad112f82706083f0ca (patch) | |
tree | bc5cfa526e3f92a3127651d6fb05dc779d89d935 /js/console.js | |
parent | 2dd39da89da1625bf51eaef98013d4cdfbb56c6e (diff) |
Prevents console window from moving out of the screen height
Signed-off-by: sukhtaaj <sukhtaaj@gmail.com>
Diffstat (limited to 'js/console.js')
-rw-r--r-- | js/console.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/console.js b/js/console.js index 1eaaa0d736..6523c770e3 100644 --- a/js/console.js +++ b/js/console.js @@ -432,6 +432,9 @@ var PMA_consoleResizer = { * @return void */ _mousemove: function(event) { + if (event.pageY < 35) { + event.pageY = 35 + } PMA_consoleResizer._resultHeight = PMA_consoleResizer._height + (PMA_consoleResizer._posY -event.pageY); // Content min-height is 32, if adjusting height small than it we'll move it out of the page if(PMA_consoleResizer._resultHeight <= 32) { |