Merge pull request #2378 from mlorb/ml-sci-4311

Fix scroll position on protocol and result page [SCI-4311]
This commit is contained in:
mlorb 2020-01-30 13:39:16 +01:00 committed by GitHub
commit a2afa11fef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -65,7 +65,6 @@ var Comments = (function() {
$el.find('textarea'), $el.find('textarea'),
$el.find('.new-comment-button') $el.find('.new-comment-button')
); );
$el.find('textarea').focus().blur();
$el.find('.new-comment-button').off('click').click(() => { $el.find('.new-comment-button').off('click').click(() => {
var errorField = $el.find('.new-message-error'); var errorField = $el.find('.new-message-error');
var newButton = this; var newButton = this;

View file

@ -1608,7 +1608,7 @@ textarea.textarea-sm {
min-height: 34px; min-height: 34px;
&.form-control { &.form-control {
height: 34px; height: 36px;
} }
} }