From ac665a8945096f632313ca8c1116ddc103e173d2 Mon Sep 17 00:00:00 2001 From: Dan Ungureanu Date: Thu, 12 Mar 2015 00:27:50 +0200 Subject: [PATCH] RFE #1617. Click back on the button closes the card. Signed-off-by: Dan Ungureanu --- js/console.js | 3 +++ 1 file changed, 3 insertions(+) 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();