src/dynamics/video_player/tootip/tooltip.js
Consider simplifying this complex logical expression. Open
Open
if (tooltipCollection && typeof tooltipCollection.get === "function") {
this.set("closeable", tooltipCollection.get("closeable") || false);
this.set("position", tooltipCollection.get("position") || 'top-right');
this.set("disappearafterinitial", (tooltipCollection.get("disappearafterseconds") || 2) * 1000);
this.set("disappearafter", this.get("disappearafterinitial"));