diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2016-10-20 14:46:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-20 14:46:57 +0200 |
commit | 5d7e9bb8fcbcd9a03cf0723c5258b41487850f7d (patch) | |
tree | 3f7b9e4a5171d104e941fd64b9fe8cff62df68d8 /core/js/jquery.ocdialog.js | |
parent | b946e3ecfb2478f7aaca82c11367a2be8455a2d0 (diff) | |
parent | b3f2771d3c5feff7c400b0026560c90a58054b2d (diff) | |
download | nextcloud-server-5d7e9bb8fcbcd9a03cf0723c5258b41487850f7d.tar.gz nextcloud-server-5d7e9bb8fcbcd9a03cf0723c5258b41487850f7d.zip |
Merge pull request #1768 from nextcloud/more-filepicker
More filepicker improvements
Diffstat (limited to 'core/js/jquery.ocdialog.js')
-rw-r--r-- | core/js/jquery.ocdialog.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/js/jquery.ocdialog.js b/core/js/jquery.ocdialog.js index 15b58f9e086..66c7d9bd7f1 100644 --- a/core/js/jquery.ocdialog.js +++ b/core/js/jquery.ocdialog.js @@ -101,9 +101,9 @@ if(this.$title) { this.$title.text(value); } else { - var $title = $('<h3 class="oc-dialog-title">' + var $title = $('<h2 class="oc-dialog-title">' + value - + '</h3>'); + + '</h2>'); this.$title = $title.prependTo(this.$dialog); } this._setSizes(); @@ -184,11 +184,11 @@ if (content_height> 0) { this.element.css({ height: content_height + 'px', - width: this.$dialog.innerWidth()-20 + 'px' + width: this.$dialog.innerWidth() - 30 + 'px' }); } else { this.element.css({ - width : this.$dialog.innerWidth() - 20 + 'px' + width : this.$dialog.innerWidth() - 30 + 'px' }); } }, |