Browse Source

Update bootstrap-table-editable.js

Aleksey Kuznietsov 2 years ago
parent
commit
f7ac3b00b5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/extensions/editable/bootstrap-table-editable.js

+ 2 - 2
src/extensions/editable/bootstrap-table-editable.js

@@ -78,8 +78,8 @@ $.BootstrapTable = class extends $.BootstrapTable {
 
         const editableOpts = Utils.calculateObjectValue(column,
           column.editable, [index, row], {})
-        let noEditFormatter = editableOpts.hasOwnProperty("noEditFormatter") &&
-                              editableOpts.noEditFormatter(value, row, index, field);
+        const noEditFormatter = editableOpts.hasOwnProperty("noEditFormatter") &&
+                                editableOpts.noEditFormatter(value, row, index, field);
 
         if (noEditFormatter) {
             return noEditFormatter