Fixed hotkeys conflicting with Flash on Chrome
This commit is contained in:
parent
c683fa3b0f
commit
f226c3eb0c
2 changed files with 4 additions and 3 deletions
|
@ -12,8 +12,9 @@ embed {
|
||||||
.post-type-image img {
|
.post-type-image img {
|
||||||
/*background: url('../img/bk-image.png') lemonchiffon;*/
|
/*background: url('../img/bk-image.png') lemonchiffon;*/
|
||||||
}
|
}
|
||||||
.post-type-flash embed {
|
.post-type-flash iframe {
|
||||||
background: url('../img/bk-swf.png') lemonchiffon;
|
border: 0;
|
||||||
|
/*background: url('../img/bk-swf.png') lemonchiffon;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar .relations ul,
|
#sidebar .relations ul,
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<?php elseif ($post->type == PostType::Flash): ?>
|
<?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): ?>
|
<?php elseif ($post->type == PostType::Youtube): ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue