master
parent
fb8a5f01c1
commit
7cb09a4fe5
|
@ -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 {
|
||||
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 {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -1131,8 +1131,10 @@ jQuery(function($) {
|
|||
});
|
||||
$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() {
|
||||
|
@ -1142,8 +1144,10 @@ jQuery(function($) {
|
|||
});
|
||||
$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() {
|
||||
|
|
|
@ -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 {
|
||||
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 {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue