From 024000b98a4a12a0b8ba92316566091aad9a1c0d Mon Sep 17 00:00:00 2001 From: Mantas Date: Mon, 23 Nov 2020 19:12:53 +0200 Subject: [PATCH] Fixes #3297 - Videos embedded in Knowledge Base do not allow full screen mode --- .../app/controllers/knowledge_base/reader_controller.coffee | 2 +- app/helpers/knowledge_base_rich_text_helper.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/controllers/knowledge_base/reader_controller.coffee b/app/assets/javascripts/app/controllers/knowledge_base/reader_controller.coffee index 388b91566..7897fee81 100644 --- a/app/assets/javascripts/app/controllers/knowledge_base/reader_controller.coffee +++ b/app/assets/javascripts/app/controllers/knowledge_base/reader_controller.coffee @@ -122,7 +122,7 @@ class App.KnowledgeBaseReaderController extends App.Controller return match unless url - "
" + "
" renderAttachments: (attachments) -> @answerAttachments.html App.view('generic/attachments')( diff --git a/app/helpers/knowledge_base_rich_text_helper.rb b/app/helpers/knowledge_base_rich_text_helper.rb index 6aa8c8418..b9a00dd2b 100644 --- a/app/helpers/knowledge_base_rich_text_helper.rb +++ b/app/helpers/knowledge_base_rich_text_helper.rb @@ -44,7 +44,7 @@ module KnowledgeBaseRichTextHelper return match if !url - "
" + "
" end end end