Skip to content
Permalink
Browse files

Careful with indexOf-->includes...

  • Loading branch information...
adam3smith committed Apr 1, 2019
1 parent 2bad782 commit 79835801b2ef5cd1025aab0206774325b7e372f3
Showing with 1 addition and 1 deletion.
  1. +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

Please sign in to comment.
You can’t perform that action at this time.