Browse Source

Fix iterating for calculate nested function (#3920)

Alexey Savin 7 years ago
parent
commit
e23f57a44d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -172,7 +172,7 @@
 
 
         if (names.length > 1) {
         if (names.length > 1) {
           func = window
           func = window
-          for (const f of name) {
+          for (const f of names) {
             func = func[f]
             func = func[f]
           }
           }
         } else {
         } else {