mirror of
https://github.com/mehotkhan/BandersnatchInteractive.git
synced 2025-07-27 17:23:22 +00:00
assets/scripts.js: Fix check for undefined
This commit is contained in:
parent
64bad02a3b
commit
68ec8bb628
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ function applyPlaybackImpression(segmentId) {
|
|||
|
||||
function playSegment(segmentId) {
|
||||
clearTimeout(timerId);
|
||||
if (!segmentId || segmentId == "undefined")
|
||||
if (!segmentId || typeof segmentId === "undefined")
|
||||
segmentId = '1A';
|
||||
console.log('playSegment', segmentId);
|
||||
applyPlaybackImpression(segmentId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue