sajari-website
Advanced tools
Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "sajari-website", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Website extensions for the Sajari API. Automatically index site content, add user profiles, render search and recommendations, etc.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -175,7 +175,3 @@ require("./utils/polyfills"); | ||
dom.bind(nodes[j], 'mousedown', function() { | ||
var injected = this.getAttribute('data-injected'); | ||
if (injected === undefined) { | ||
injected = ''; | ||
} | ||
SJ.SendClick(this.getAttribute('data-query-id'), this.getAttribute('data-slot'), injected, this); | ||
SJ.SendClick(this.getAttribute('data-query-id'), this.getAttribute('data-slot'), this.getAttribute('data-injected'), this); | ||
}); | ||
@@ -867,2 +863,5 @@ } | ||
} | ||
if (injected === "undefined") { | ||
injected = ""; | ||
} | ||
profile.addClickedUrl(u); | ||
@@ -869,0 +868,0 @@ api.pixel({ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63268
1655