mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-03-11 23:47:21 -04:00
a
This commit is contained in:
@@ -176,7 +176,7 @@ export default class VideoViewer extends React.PureComponent {
|
|||||||
topLeftHtml = document.createElement('div');
|
topLeftHtml = document.createElement('div');
|
||||||
topLeftHtml.setAttribute('class', 'media-links-top-left');
|
topLeftHtml.setAttribute('class', 'media-links-top-left');
|
||||||
|
|
||||||
const linkTarget = inEmbeddedApp() ? '_self' : '_blank';
|
const linkTarget = inEmbeddedApp() || window.location.href.indexOf('lms_embed_mode') > -1 ? '_self' : '_blank';
|
||||||
|
|
||||||
if (titleLink) {
|
if (titleLink) {
|
||||||
titleLink.setAttribute('class', 'title-link');
|
titleLink.setAttribute('class', 'title-link');
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user