Skip to content

Commit a2e9a1b

Browse files
committed
fix issue for elaerning
1 parent 45c6695 commit a2e9a1b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/ResourceContent.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -722,14 +722,6 @@
722722
async launchScorm() {
723723
var targetWin;
724724
var targetWinName = "lhContent" + this.resourceItem.resourceId;
725-
// Use a placeholder window to avoid popup blockers
726-
targetWin = window.open("about:blank", targetWinName, "location=0,menubar=0,resizable=0,width=" + this.resourceItem.scormDetails.popupWidth + ",height=" + this.resourceItem.scormDetails.popupHeight);
727-
728-
// If the pop-up was blocked
729-
if (!targetWin) {
730-
alert("Please allow pop-ups to view this content.");
731-
return;
732-
}
733725
var activeContent = await userData.getActiveContent();
734726
735727
if (activeContent.filter(ac => ac.resourceId === this.resourceItem.resourceId).length > 0) {

0 commit comments

Comments
 (0)