Fixed a couple comments in site javascript

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
This commit is contained in:
Collin J. Doering 2015-01-07 01:59:29 -05:00
parent 5bbacb1725
commit 06b4752bee
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,7 @@
* File:. default.js
* Author: Collin J. Doering
* Date: Sep 6, 2013
* Description: Client-side logic for rekahsoft-ca
* Description: Client-side logic for blog-rekahsoft-ca
*/
//------------------------
@ -152,6 +152,7 @@
MathJax.Hub.Queue(["Typeset",MathJax.Hub,math_elem[0]]);
});
// Scroll to top of the page
if ($('body').scrollTop() > $('#nav').offset().top - 15) {
$('html, body').animate({
scrollTop: $('#nav').offset().top - 15