Skip to content

Commit

Permalink
fix for #410
Browse files Browse the repository at this point in the history
  • Loading branch information
nekosaur authored and johnleider committed Apr 24, 2017
1 parent e0be2be commit 4b0c606
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/pagination/Pagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
a(
href="#!"
class="pagination__item"
v-bind:class="{ 'pagination__item--active': n === isActive }"
v-bind:class="{ 'pagination__item--active': n === value }"
v-if="!isNaN(n)"
v-on:click.prevent="$emit('input', n)"
v-text="n"
Expand All @@ -36,13 +36,9 @@
</template>

<script>
import Toggleable from '../../mixins/toggleable'
export default {
name: 'pagination',
mixins: [Toggleable],
props: {
circle: Boolean,
Expand Down Expand Up @@ -127,4 +123,4 @@
}
}
}
</script>
</script>

0 comments on commit 4b0c606

Please sign in to comment.