From d42e4b820d0e0eec6863c62539950c3157df61f1 Mon Sep 17 00:00:00 2001 From: Gilbert Pellegrom Date: Thu, 1 Jun 2017 15:11:21 +0100 Subject: [PATCH] More ES5 compat --- src/laravel-vue-pagination.js | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/laravel-vue-pagination.js b/src/laravel-vue-pagination.js index 1d1f4ad..7bbc117 100644 --- a/src/laravel-vue-pagination.js +++ b/src/laravel-vue-pagination.js @@ -22,16 +22,15 @@ module.exports = { } }, - template: ` - `, + template: '', methods: { selectPage: function(page) { @@ -41,7 +40,7 @@ module.exports = { if (this.limit === -1) { return 0; } - + if (this.limit === 0) { return this.data.last_page; }