Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

JS comment nitpicking

  • Loading branch information...
commit 5bdfb3da0931a80272bff658951c8a47bd561e72 1 parent 69f5349
@michaelporter authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  scripts/navmovement.js
View
3  scripts/navmovement.js
@@ -6,7 +6,7 @@ function navScroll(elem, dest) {
$(elem).click(function(){
var destx = "";
destx = getCoords(dest);
- $('#content').animate({top: '-'+destx}, 350); // must animate negative, though positions are postitive
+ $('#content').animate({top: '-'+destx}, 350); // must animate negative, though these positions come in postitive
return false;
});
};
@@ -15,7 +15,6 @@ function movepane(elem, dest, setting) {
$(elem).click(function(){
var winwidth = $(window).width();
var winheight = $(window).height();
- //alert(winheight);
if (setting == 1) {
$('#container').scrollTo(dest, {duration:500, queue:true, axis: 'yx'});
Please sign in to comment.
Something went wrong with that request. Please try again.