@invrs/ads
Advanced tools
Comparing version 0.8.14 to 0.8.16
@@ -230,3 +230,3 @@ "use strict"; | ||
_regenerator.default.mark(function _callee4(id) { | ||
var targets, parent_section; | ||
var targets, parent_section, urlParams; | ||
return _regenerator.default.wrap(function _callee4$(_context4) { | ||
@@ -246,14 +246,20 @@ while (1) { | ||
parent_section = targets.parent_section; | ||
_context4.next = 6; | ||
urlParams = ""; | ||
if (parent_section) { | ||
urlParams += "§ion=".concat(parent_section); | ||
} | ||
_context4.next = 8; | ||
return _flatironStore.store.set("iframes.".concat(id), { | ||
active: true, | ||
divId: id, | ||
url: (0, _url.archUrl)("/poll?id=".concat(id, "§ion=").concat(parent_section)), | ||
url: (0, _url.archUrl)("/poll?id=".concat(id).concat(urlParams)), | ||
width: "100%" | ||
}); | ||
case 6: | ||
case 8: | ||
return _context4.abrupt("return", _context4.sent); | ||
case 7: | ||
case 9: | ||
case "end": | ||
@@ -260,0 +266,0 @@ return _context4.stop(); |
{ | ||
"name": "@invrs/ads", | ||
"version": "0.8.14", | ||
"version": "0.8.16", | ||
"description": "Inverse ad code", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
52563
579