Skip to content
Browse files

JS comment nitpicking

  • Loading branch information...
1 parent 69f5349 commit 5bdfb3da0931a80272bff658951c8a47bd561e72 @michaelporter committed Apr 24, 2012
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'});

0 comments on commit 5bdfb3d

Please sign in to comment.
Something went wrong with that request. Please try again.