Fix crazy iframe css bug
parent
541d558e3c
commit
d42a9fc7b1
|
@ -751,6 +751,9 @@ body.detail {
|
|||
h3 {
|
||||
display: none;
|
||||
}
|
||||
.dsq-textarea-wrapper {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
#dsq-footer {
|
||||
display: none;
|
||||
|
|
|
@ -159,8 +159,10 @@
|
|||
});
|
||||
$document.bind('keydown', 'n', function() {
|
||||
var $anc = $('li.next a');
|
||||
if ($anc.attr('href') !== '#') {
|
||||
window.location = $anc.attr('href');
|
||||
if ($anc.length) {
|
||||
if ($anc.attr('href') !== '#') {
|
||||
window.location = $anc.attr('href');
|
||||
}
|
||||
}
|
||||
});
|
||||
$document.bind('keydown', 'o', function() {
|
||||
|
@ -170,8 +172,10 @@
|
|||
});
|
||||
$document.bind('keydown', 'p', function() {
|
||||
var $anc = $('li.prev a');
|
||||
if ($anc.attr('href') !== '#') {
|
||||
window.location = $anc.attr('href');
|
||||
if ($anc.length) {
|
||||
if ($anc.attr('href') !== '#') {
|
||||
window.location = $anc.attr('href');
|
||||
}
|
||||
}
|
||||
});
|
||||
$document.bind('keydown', 'return', function() {
|
||||
|
|
Loading…
Reference in New Issue