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:
authorDan Ungureanu <udan1107@gmail.com>2015-03-12 01:27:50 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-03-12 01:27:50 +0300
commitac665a8945096f632313ca8c1116ddc103e173d2 (patch)
tree1c64e3f9c2eb8c24031b4095c6c8291badca6568 /js/console.js
parent1a028c05f7d10dd65876e55dd30a612242faa5e4 (diff)
RFE #1617. Click back on the button closes the card.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
Diffstat (limited to 'js/console.js')
-rw-r--r--js/console.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/console.js b/js/console.js
index 28994df12f..489f71dc29 100644
--- a/js/console.js
+++ b/js/console.js
@@ -148,6 +148,9 @@ var PMA_console = {
$('#pma_bookmarks .switch_button').click(function() {
PMA_console.hideCard($(this).closest('.card'));
});
+ $('#pma_console_options .switch_button').click(function() {
+ PMA_console.hideCard($(this).closest('.card'));
+ });
$('#pma_console_options input[type=checkbox]').change(function() {
PMA_console.updateConfig();