aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/setup.js
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-01-15 07:24:57 +0100
committerGitHub <noreply@github.com>2020-01-15 07:24:57 +0100
commit060dd35ef9658907eb578043437fa476efc7bcaf (patch)
tree1384d20b0e5c26b2784976574377338b8b0c998e /core/js/setup.js
parent9daf35b704f7d7cef2b65d5faf07ea8ec7ef1ea1 (diff)
parentd873236d36294ed255e0b0184abd998f3887f4ea (diff)
downloadnextcloud-server-060dd35ef9658907eb578043437fa476efc7bcaf.tar.gz
nextcloud-server-060dd35ef9658907eb578043437fa476efc7bcaf.zip
Merge pull request #18873 from nextcloud/design/install-page
Install page design fixes
Diffstat (limited to 'core/js/setup.js')
-rw-r--r--core/js/setup.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/core/js/setup.js b/core/js/setup.js
index eb41795e427..7cf4c38071e 100644
--- a/core/js/setup.js
+++ b/core/js/setup.js
@@ -123,18 +123,4 @@ $(document).ready(function() {
drawTitles: true,
nonce: btoa(OC.requestToken),
});
-
- // centers the database chooser if it is too wide
- if($('#databaseBackend').width() > 300) {
- // this somehow needs to wait 250 milliseconds
- // otherwise it gets overwritten
- setTimeout(function(){
- // calculate negative left margin
- // half of the difference of width and default bix width of 300
- // add 10 to clear left side padding of button group
- var leftMargin = (($('#databaseBackend').width() - 300) / 2 + 10 ) * -1;
-
- $('#databaseBackend').css('margin-left', Math.floor(leftMargin) + 'px');
- }, 250);
- }
});