Fixed a couple comments in site javascript
Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
This commit is contained in:
parent
5bbacb1725
commit
06b4752bee
|
@ -19,7 +19,7 @@
|
||||||
* File:. default.js
|
* File:. default.js
|
||||||
* Author: Collin J. Doering
|
* Author: Collin J. Doering
|
||||||
* Date: Sep 6, 2013
|
* 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]]);
|
MathJax.Hub.Queue(["Typeset",MathJax.Hub,math_elem[0]]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Scroll to top of the page
|
||||||
if ($('body').scrollTop() > $('#nav').offset().top - 15) {
|
if ($('body').scrollTop() > $('#nav').offset().top - 15) {
|
||||||
$('html, body').animate({
|
$('html, body').animate({
|
||||||
scrollTop: $('#nav').offset().top - 15
|
scrollTop: $('#nav').offset().top - 15
|
||||||
|
|
Loading…
Reference in New Issue