From f226c3eb0ca2397bfc360b0a474424d4aadfdf96 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Mon, 25 Nov 2013 12:35:14 +0100 Subject: [PATCH] Fixed hotkeys conflicting with Flash on Chrome --- public_html/media/css/post-view.css | 5 +++-- src/Views/post-file-render.phtml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/public_html/media/css/post-view.css b/public_html/media/css/post-view.css index 96aad4a6..7abed60e 100644 --- a/public_html/media/css/post-view.css +++ b/public_html/media/css/post-view.css @@ -12,8 +12,9 @@ embed { .post-type-image img { /*background: url('../img/bk-image.png') lemonchiffon;*/ } -.post-type-flash embed { - background: url('../img/bk-swf.png') lemonchiffon; +.post-type-flash iframe { + border: 0; + /*background: url('../img/bk-swf.png') lemonchiffon;*/ } #sidebar .relations ul, diff --git a/src/Views/post-file-render.phtml b/src/Views/post-file-render.phtml index 5292907a..9d59c0a4 100644 --- a/src/Views/post-file-render.phtml +++ b/src/Views/post-file-render.phtml @@ -14,7 +14,7 @@ type == PostType::Flash): ?> - + type == PostType::Youtube): ?>