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:
Diffstat (limited to 'js/console.js')
-rw-r--r--js/console.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/console.js b/js/console.js
index d832297001..5ceb5bb0bb 100644
--- a/js/console.js
+++ b/js/console.js
@@ -142,6 +142,12 @@ var PMA_console = {
PMA_console.showCard('#pma_console_options');
});
+ PMA_console.$consoleContent.click(function(event) {
+ if (event.target == this) {
+ PMA_consoleInput.focus();
+ }
+ });
+
$('#pma_console .mid_layer').click(function() {
PMA_console.hideCard($(this).parent().children('.card'));
});