소스 검색

debug

master
Pascal Gloor 5 년 전
부모
커밋
e780579deb
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      www/js/autodoc.js

+ 3
- 0
www/js/autodoc.js 파일 보기

@@ -57,6 +57,9 @@ function isvisible(obj) {
var bottom_of_screen = $(window).scrollTop() + $(window).innerHeight();
var top_of_screen = $(window).scrollTop();

console.log("screen: " + top_of_screen + " " + bottom_of_screen);
console.log("elem: " + top_of_element + " " + bottom_of_element);

if (bottom_of_screen > top_of_element && top_of_screen < bottom_of_element) {
return true;
}

Loading…
취소
저장