master
Nick Sergeant 2012-01-17 00:07:31 -05:00
parent fb8a5f01c1
commit 7cb09a4fe5
3 changed files with 14 additions and 4 deletions

View File

@ -1043,6 +1043,9 @@ body.detail section.main div.inner section.snipts div#disqus_thread #dsq-content
body.detail section.main div.inner section.snipts div#disqus_thread #dsq-content h3 { body.detail section.main div.inner section.snipts div#disqus_thread #dsq-content h3 {
display: none; display: none;
} }
body.detail section.main div.inner section.snipts div#disqus_thread #dsq-content .dsq-textarea-wrapper {
overflow: hidden;
}
body.detail section.main div.inner section.snipts div#disqus_thread #dsq-footer { body.detail section.main div.inner section.snipts div#disqus_thread #dsq-footer {
display: none; display: none;
} }

View File

@ -1131,8 +1131,10 @@ jQuery(function($) {
}); });
$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() {
@ -1142,8 +1144,10 @@ jQuery(function($) {
}); });
$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() {

View File

@ -639,6 +639,9 @@ body.detail section.main div.inner section.snipts div#disqus_thread #dsq-content
body.detail section.main div.inner section.snipts div#disqus_thread #dsq-content h3 { body.detail section.main div.inner section.snipts div#disqus_thread #dsq-content h3 {
display: none; display: none;
} }
body.detail section.main div.inner section.snipts div#disqus_thread #dsq-content .dsq-textarea-wrapper {
overflow: hidden;
}
body.detail section.main div.inner section.snipts div#disqus_thread #dsq-footer { body.detail section.main div.inner section.snipts div#disqus_thread #dsq-footer {
display: none; display: none;
} }