Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethbruskiewicz committed Nov 5, 2024
1 parent ed2a1a0 commit 03107e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/DataHarmonizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,6 @@ class DataHarmonizer {
}

changeRowVisibility(id) {

// Grid becomes sluggish if viewport outside visible grid upon re-rendering
this.hot.scrollViewportTo(0, 1);

Expand Down
7 changes: 5 additions & 2 deletions lib/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,10 @@ class Toolbar {
'#show-valid-rows-dropdown-item',
'#show-invalid-rows-dropdown-item',
];
$(showRowsSelectors.join(',')).on('click', this.toggleRowVisibility.bind(this));
$(showRowsSelectors.join(',')).on(
'click',
this.toggleRowVisibility.bind(this)
);
$('#next-error-button').on('click', this.locateNextError.bind(this));
$('#validate-btn').on('click', this.validate.bind(this));
$('#help_reference').on('click', this.showReference.bind(this));
Expand Down Expand Up @@ -739,7 +742,7 @@ class Toolbar {
toggleRowVisibility(event) {
const dh = this.context.getCurrentDataHarmonizer();
dh.changeRowVisibility(event.target.id);
};
}

locateNextError() {
const dh = this.context.getCurrentDataHarmonizer();
Expand Down

0 comments on commit 03107e6

Please sign in to comment.