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