mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Don't open the dialog for logo and background
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
c2350f237e
commit
37d333c3b5
1 changed files with 2 additions and 1 deletions
|
|
@ -161,7 +161,8 @@ $(document).ready(function () {
|
|||
$('#uploadlogo').fileupload(uploadParamsLogo);
|
||||
$('#upload-login-background').fileupload(uploadParamsLogin);
|
||||
// clicking preview should also trigger file upload dialog
|
||||
$('#theming-preview-logo').on('click', function() {
|
||||
$('#theming-preview-logo').on('click', function(e) {
|
||||
e.stopPropagation();
|
||||
$('#uploadlogo').click();
|
||||
});
|
||||
$('#theming-preview').on('click', function() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue