Skip to content

Commit

Permalink
Merge pull request #10 from vue-bulma/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
netpi authored Mar 16, 2017
2 parents cc71ae8 + 2604f3d commit 96ac4af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-bulma-pagination",
"version": "1.1.3",
"version": "1.1.4",
"description": "Pagination component for Vue Bulma",
"main": "src/index.js",
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/Pagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default {
methods: {
getNavClassName () {
var optional = ['','is-centered','is-right']
if(['','is-centered','is-right'].indexOf(this.modifiers) > 0){
if(['','is-centered','is-right'].indexOf(this.modifiers.trim()) >= 0){
return 'pagination ' + this.modifiers
} else {
console.warn(" modifiers %s is not within the options ", this.modifiers, optional,
Expand Down

0 comments on commit 96ac4af

Please sign in to comment.