diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index b3e0ba101c..57a6114473 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -185,8 +185,9 @@ var getOwnPropertyNames = Object.getOwnPropertyNames || function (obj) { var arr = []; for (var k in obj) { - if (obj.hasOwnProperty(k)) { - arr.push(k); + if (obj.hasOwnProperty(k)) { + arr.push(k); + } } return arr; };