From 8485f5bcb1b1002e111aab12dd99827274102262 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 16 Jun 2016 15:25:56 +0200 Subject: [PATCH] Prevent the advanced options toggle in the setup from acting as a link --- core/js/setup.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/js/setup.js b/core/js/setup.js index cb299597451..636e41fddea 100644 --- a/core/js/setup.js +++ b/core/js/setup.js @@ -43,7 +43,8 @@ $(document).ready(function() { $('input[checked]').trigger('click'); - $('#showAdvanced').click(function() { + $('#showAdvanced').click(function(e) { + e.preventDefault(); $('#datadirContent').slideToggle(250); $('#databaseBackend').slideToggle(250); $('#databaseField').slideToggle(250); -- 2.39.5