diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-06-16 15:25:56 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2016-06-16 15:25:56 +0200 |
commit | 8485f5bcb1b1002e111aab12dd99827274102262 (patch) | |
tree | 91f136503e2f51bc57ceaca13d4e4d34110d2f26 /core/js | |
parent | 453a038e9c47d125d1a8ded93f38d082ce1cf228 (diff) | |
download | nextcloud-server-8485f5bcb1b1002e111aab12dd99827274102262.tar.gz nextcloud-server-8485f5bcb1b1002e111aab12dd99827274102262.zip |
Prevent the advanced options toggle in the setup from acting as a link
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/setup.js | 3 |
1 files changed, 2 insertions, 1 deletions
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); |