Skip to content

Commit a2aacd2

Browse files
committed
update: wp editor open on the new tab
1 parent 8d016ba commit a2aacd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/modal/edit-lesson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function tutorLessonWPEditor(e) {
9797
tutor_toast('Warning', 'You can access and edit this Lesson with WP Editor only when you update this Lesson at first.', 'warning');
9898
return;
9999
} else {
100-
window.location.href = currentTarget.href
100+
window.open(currentTarget.href, '_blank');
101101
}
102102
}
103103
</script>

0 commit comments

Comments
 (0)