@mjhls/mjh-framework 1.0.334 → 1.0.335

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.334
2
+ # mjh-framework v. 1.0.335
3
3
 
4
4
  > Foundation Framework
5
5
 
@@ -116,7 +116,7 @@ var changePageNumber = function changePageNumber(pageNumber, seoPaginate, pagevi
116
116
  if (path[0] !== '/') {
117
117
  path = '/' + path;
118
118
  }
119
- var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
119
+ var newPath = pageNumber === 1 ? '' + path : '' + path + (queryString.length > 0 ? '&' : '?') + 'page=' + pageNumber;
120
120
 
121
121
  if (pageview) {
122
122
  pageview(newPath);
@@ -110,7 +110,7 @@ var changePageNumber = function changePageNumber(pageNumber, seoPaginate, pagevi
110
110
  if (path[0] !== '/') {
111
111
  path = '/' + path;
112
112
  }
113
- var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
113
+ var newPath = pageNumber === 1 ? '' + path : '' + path + (queryString.length > 0 ? '&' : '?') + 'page=' + pageNumber;
114
114
 
115
115
  if (pageview) {
116
116
  pageview(newPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.334",
3
+ "version": "1.0.335",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",