diff --git a/jquery.simplePagination.js b/jquery.simplePagination.js index 4fa860e..bec1c73 100644 --- a/jquery.simplePagination.js +++ b/jquery.simplePagination.js @@ -23,6 +23,7 @@ hrefTextSuffix: '', prevText: 'Prev', nextText: 'Next', + hideSingle: true, ellipseText: '…', cssStyle: 'light-theme', labelMap: [], @@ -156,6 +157,9 @@ interval = methods._getInterval(o), i, tagName; + if (o.items <= o.itemsOnPage && o.hideSingle) { + return; + } methods.destroy.call(this);