diff --git a/OpenOversight/app/static/js/contentWarning.js b/OpenOversight/app/static/js/contentWarning.js index cefcbb0e3..31aa17e57 100644 --- a/OpenOversight/app/static/js/contentWarning.js +++ b/OpenOversight/app/static/js/contentWarning.js @@ -2,7 +2,7 @@ function createOverlay(container) { const warningText = $( "

Content Warning

This video may be disturbing for some viewers

" ) - const hide = $('') + const hide = $('') hide.click(() => overlay.css("display", "none")) const wrapper = $("
") diff --git a/OpenOversight/app/templates/partials/links_and_videos_row.html b/OpenOversight/app/templates/partials/links_and_videos_row.html index 80bf28d5b..1c0b469dc 100644 --- a/OpenOversight/app/templates/partials/links_and_videos_row.html +++ b/OpenOversight/app/templates/partials/links_and_videos_row.html @@ -7,7 +7,7 @@

Links

  • {{ link.title or link.url }} {% if link.has_content_warning %} - Content Warning {% endif %} {% if officer and (is_admin_or_coordinator or link.created_by == current_user.id) %} @@ -83,7 +83,7 @@

    Other videos

  • {{ link.title or link.url }} {% if link.has_content_warning %} - Content Warning {% endif %} {% if officer and (current_user.is_admin_or_coordinator(officer.department)