Skip to content

Commit a3b952f

Browse files
fix: Correct isInitialized check in hashAttributes and setExtensionData functions
1 parent 05e6ee9 commit a3b952f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Rokt-Kit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ var constructor = function () {
5858
* hashed attributes from the launcher, or `null` if the kit is not initialized
5959
*/
6060
function hashAttributes(attributes) {
61-
if (!isInitialized()) {
61+
if (!isInitialized) {
6262
console.error('Rokt Kit: Not initialized');
6363
return null;
6464
}
@@ -223,7 +223,7 @@ var constructor = function () {
223223
* @returns {void} Nothing is returned
224224
*/
225225
function setExtensionData(partnerExtensionData) {
226-
if (!isInitialized()) {
226+
if (!isInitialized) {
227227
console.error('Rokt Kit: Not initialized');
228228
return;
229229
}

0 commit comments

Comments
 (0)