Better fix for the black screen issues, reverted the old fix.

refs #6334
This commit is contained in:
Aditya Toshniwal
2021-04-16 18:23:29 +05:30
committed by Akshay Joshi
parent d046a2800d
commit 2b1910c1c1
5 changed files with 0 additions and 38 deletions

View File

@@ -489,12 +489,6 @@ define('pgadmin.browser', [
setTimeout(function() {
obj.editor.setValue('-- ' + select_object_msg);
obj.editor.refresh();
/* In case of Runtime we need to make height of sql_textarea
* to 101% to fix the black screen issue with NWjs.
*/
if (pgAdmin['pgadmim_runtime'] === 'True') {
$('.pg-panel-content .sql_textarea').addClass('runtime_sql_textarea');
}
}, 10);
// Initialise the treeview