mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
UX: no need to show protocol in youtube link
This commit is contained in:
parent
9e7182474a
commit
c2312a427a
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@
|
|||
innerHtml.push('<div class="html5-title-text-wrapper">');
|
||||
innerHtml.push('<a class="html5-title-text" target="_blank" tabindex="3100" href="https://www.youtube.com/watch?v=', id, '">');
|
||||
if (title === undefined || title === null || title === '') {
|
||||
innerHtml.push('https://www.youtube.com/watch?v=' + id);
|
||||
innerHtml.push('youtube.com/watch?v=' + id);
|
||||
} else {
|
||||
innerHtml.push(title);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue