diff --git a/web/pgadmin/tools/datagrid/templates/datagrid/index.html b/web/pgadmin/tools/datagrid/templates/datagrid/index.html
index 516bd8da6..b138a46b8 100644
--- a/web/pgadmin/tools/datagrid/templates/datagrid/index.html
+++ b/web/pgadmin/tools/datagrid/templates/datagrid/index.html
@@ -84,7 +84,7 @@
- {{ _('Explain analyze (Ctrl+Shift+A)') }}
+ {{ _('Explain analyze (Ctrl+Shift+N)') }}
diff --git a/web/pgadmin/tools/sqleditor/templates/sqleditor/js/sqleditor.js b/web/pgadmin/tools/sqleditor/templates/sqleditor/js/sqleditor.js
index 92579f123..e57257973 100644
--- a/web/pgadmin/tools/sqleditor/templates/sqleditor/js/sqleditor.js
+++ b/web/pgadmin/tools/sqleditor/templates/sqleditor/js/sqleditor.js
@@ -176,7 +176,7 @@ define(
"click #btn-explain-buffers": "on_explain_buffers",
"click #btn-explain-timing": "on_explain_timing",
"change .limit": "on_limit_change",
- "keyup": "keyAction"
+ "keydown": "keyAction"
},
// This function is used to render the template.
@@ -1020,12 +1020,12 @@ define(
// char e/E
// Execute query.
this.on_flash(ev);
- } else if(ev.keyCode == 88){
+ } else if(ev.keyCode == 88) {
// char x/X
// Explain query.
this.on_explain(ev);
- } else if(ev.keyCode == 65) {
- // char a/A
+ } else if(ev.keyCode == 78) {
+ // char n/N
// Explain analyze query.
this.on_explain_analyze(ev);
}