]> source.dussan.org Git - nextcloud-server.git/commitdiff
Prevent the advanced options toggle in the setup from acting as a link
authorRobin Appelman <icewind@owncloud.com>
Thu, 16 Jun 2016 13:25:56 +0000 (15:25 +0200)
committerRobin Appelman <icewind@owncloud.com>
Thu, 16 Jun 2016 13:25:56 +0000 (15:25 +0200)
core/js/setup.js

index cb2995974510dc9484a435bbc57c1f0a7d993ab6..636e41fddea1160be92e91818f897039e98e3321 100644 (file)
@@ -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);