Fix for #18060 Console height "Not a non-negative number" error
Passed the height through Math.round() function before it gets stored in the session. Signed-off-by: Ajmal Hassan <iamajmalhassan@gmail.com>
This commit is contained in:
parent
e95c377de9
commit
5b65969940
@ -487,7 +487,7 @@ var ConsoleResizer = {
|
||||
* @return {void}
|
||||
*/
|
||||
mouseUp: function () {
|
||||
Console.setConfig('Height', ConsoleResizer.resultHeight);
|
||||
Console.setConfig('Height', Math.round(ConsoleResizer.resultHeight));
|
||||
Console.show();
|
||||
$(document).off('mousemove');
|
||||
$(document).off('mouseup');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user