Skip to content

Commit b608eb3

Browse files
authored
Merge pull request #14 from jericopulvera/master
Fix IE Compatibility Issue
2 parents 591a3e3 + 2095e42 commit b608eb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/laravel-vue-pagination.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = {
6464
}
6565
}
6666

67-
for (var i of range) {
67+
range.forEach(function (i) {
6868
if (l) {
6969
if (i - l === 2) {
7070
pages.push(l + 1);
@@ -74,7 +74,7 @@ module.exports = {
7474
}
7575
pages.push(i);
7676
l = i;
77-
}
77+
});
7878

7979
return pages;
8080
}

0 commit comments

Comments
 (0)