Skip to content

Commit 03107e6

Browse files
prettier
1 parent ed2a1a0 commit 03107e6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

lib/DataHarmonizer.js

-1
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,6 @@ class DataHarmonizer {
940940
}
941941

942942
changeRowVisibility(id) {
943-
944943
// Grid becomes sluggish if viewport outside visible grid upon re-rendering
945944
this.hot.scrollViewportTo(0, 1);
946945

lib/Toolbar.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,10 @@ class Toolbar {
291291
'#show-valid-rows-dropdown-item',
292292
'#show-invalid-rows-dropdown-item',
293293
];
294-
$(showRowsSelectors.join(',')).on('click', this.toggleRowVisibility.bind(this));
294+
$(showRowsSelectors.join(',')).on(
295+
'click',
296+
this.toggleRowVisibility.bind(this)
297+
);
295298
$('#next-error-button').on('click', this.locateNextError.bind(this));
296299
$('#validate-btn').on('click', this.validate.bind(this));
297300
$('#help_reference').on('click', this.showReference.bind(this));
@@ -739,7 +742,7 @@ class Toolbar {
739742
toggleRowVisibility(event) {
740743
const dh = this.context.getCurrentDataHarmonizer();
741744
dh.changeRowVisibility(event.target.id);
742-
};
745+
}
743746

744747
locateNextError() {
745748
const dh = this.context.getCurrentDataHarmonizer();

0 commit comments

Comments
 (0)