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 {
display: none;
}
.dsq-textarea-wrapper {
overflow: hidden;
}
}
#dsq-footer {
display: none;

View File

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