Permalink
Browse files
Careful with indexOf-->includes...
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
Primo.js
|
@@ -134,7 +134,7 @@ var PNXUrlGenerator = new function () { |
|
|
|
// simply add &showPnx=true |
|
|
|
function (urlObj) { |
|
|
|
var url = urlObj.url.split('#'); |
|
|
|
if (url[0].includes("?")) { |
|
|
|
if (!url[0].includes("?")) { |
|
|
|
url[0] += '?'; |
|
|
|
} |
|
|
|
else { |
|
|
0 comments on commit
7983580