Skip to content

Commit

Permalink
Update bootstrap-table-sticky-header.js
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorTrutnev authored Nov 28, 2024
1 parent fc85ad5 commit dc892a0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/extensions/sticky-header/bootstrap-table-sticky-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ $.BootstrapTable = class extends $.BootstrapTable {
this.$stickyHeader = this.$header.clone(true, true)

// copy header inputs value in $stickyHeader clone

Check failure on line 94 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Unexpected tab character

Check failure on line 94 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 4 spaces but found 2 tabs
var $headerInputs = this.$header.find("select, input")
var _$stickyHeaderInputs = this.$stickyHeader.find("select, input")
$headerInputs.each(function(i) {
var headerInputValue = $(this).val()
_$stickyHeaderInputs.eq(i).val(headerInputValue)
const $headerInputs = this.$header.find('select, input')
const _$stickyHeaderInputs = this.$stickyHeader.find('select, input')

Check failure on line 96 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Unexpected tab character

Check failure on line 96 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 4 spaces but found 2 tabs
$headerInputs.each(function(i) {

Check failure on line 97 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Expected blank line before this statement

Check failure on line 97 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Missing space before function parentheses
const headerInputValue = $(this).val()
_$stickyHeaderInputs.eq(i).val(headerInputValue)

Check failure on line 99 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Expected blank line before this statement
});

Check failure on line 100 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Unexpected tab character

Check failure on line 100 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 4 spaces but found 2 tabs

Check failure on line 100 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Extra semicolon

if (this.options.filterControl) {
Expand Down

0 comments on commit dc892a0

Please sign in to comment.