Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
changed let declaration to var
Signed-off-by: Marco Ambrosini <[email protected]>
  • Loading branch information
marcoambrosini committed Jul 3, 2019
commit 89604097908c233f735d739bfb97a8fce51caa0d
2 changes: 1 addition & 1 deletion js/views/chatview.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
},

handleFormResize : function (initialFormHeight) {
let formHeight = document.getElementsByClassName('newCommentForm')[0].clientHeight;
var formHeight = document.getElementsByClassName('newCommentForm')[0].clientHeight;
console.log('Initial form heigth: ' + initialFormHeight + ', actual form height: ' + formHeight)
if (initialFormHeight < formHeight) {
this._virtualList.scrollToLastVisibleElement();
Expand Down