Skip to content

Commit

Permalink
Fixed hotkeys conflicting with Flash on Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Kurczewski committed Nov 25, 2013
1 parent c683fa3 commit f226c3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions public_html/media/css/post-view.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/Views/post-file-render.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<?php elseif ($post->type == PostType::Flash): ?>

<embed width="<?php echo $post->image_width ?>" height="<?php echo $post->image_height ?>" type="application/x-shockwave-flash" src="<?php echo \Chibi\UrlHelper::route('post', 'retrieve', ['name' => $post->name]) ?>"/>
<iframe width="<?php echo $post->image_width ?>" height="<?php echo $post->image_height ?>" src="<?php echo \Chibi\UrlHelper::route('post', 'retrieve', ['name' => $post->name]) ?>"> </iframe>

<?php elseif ($post->type == PostType::Youtube): ?>

Expand Down

0 comments on commit f226c3e

Please sign in to comment.