From: Robin Appelman Date: Thu, 16 Jun 2016 13:25:56 +0000 (+0200) Subject: Prevent the advanced options toggle in the setup from acting as a link X-Git-Tag: v9.1.0RC1~70^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8485f5bcb1b1002e111aab12dd99827274102262;p=nextcloud-server.git Prevent the advanced options toggle in the setup from acting as a link --- 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);