diff --git a/snipt/media/cache/snipt.css b/snipt/media/cache/snipt.css index 294f976..c8a44c1 100644 --- a/snipt/media/cache/snipt.css +++ b/snipt/media/cache/snipt.css @@ -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; } diff --git a/snipt/media/cache/snipt.js b/snipt/media/cache/snipt.js index 0c41def..2baf34e 100644 --- a/snipt/media/cache/snipt.js +++ b/snipt/media/cache/snipt.js @@ -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() { diff --git a/snipt/media/css/style.css b/snipt/media/css/style.css index 2182c82..81e35e2 100644 --- a/snipt/media/css/style.css +++ b/snipt/media/css/style.css @@ -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; }