Fix crazy iframe css bug

master
Nick Sergeant 2012-01-16 23:51:46 -05:00
parent 541d558e3c
commit d42a9fc7b1
2 changed files with 11 additions and 4 deletions

View File

@ -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;

View File

@ -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() {