Commit 56684089 authored by Kjetil Thuen's avatar Kjetil Thuen

Commented out log statements

parent 5c311a3a
......@@ -111,7 +111,7 @@ inScroll = false;
};
var show_expanded_info = function() {
console.log("expanding");
// console.log("expanding");
var listElem = $('#studies_list li.selected'),
details,
......@@ -129,9 +129,9 @@ inScroll = false;
var listTop = listElem.offset().top;
var scrollVal = listTop - tarTop - marginDiff;
console.log("target top: " + tarTop);
console.log("list top: " + listTop);
console.log("Debouncing expand function at " + scrollVal);
// console.log("target top: " + tarTop);
// console.log("list top: " + listTop);
// console.log("Debouncing expand function at " + scrollVal);
$('body').animate({scrollTop: scrollVal}, 'fast');
......@@ -186,7 +186,7 @@ inScroll = false;
$(window).bind('scrollstart', function(){
if (scrollListenersEnabled) {
scrollInProgress = true;
console.log("scrollstart");
// console.log("scrollstart");
$('#expander:visible').slideUp(100);
}
});
......@@ -195,23 +195,23 @@ inScroll = false;
//IOS specific touch event
if (scrollListenersEnabled) {
scrollInProgress = true;
console.log("touchmove");
// console.log("touchmove");
$('#expander:visible').hide();
} else {
console.log("scroll registered, but listener disabled");
// console.log("scroll registered, but listener disabled");
}
});
$(window).bind('scrollstop', function(e){
if (scrollInProgress) {
console.log("scrollstop");
// console.log("scrollstop");
find_and_select_element();
}
});
$('#studies_list li').click(function() {
console.log("click");
// console.log("click");
set_selected_element($(this).get());
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment