Browse Source

debug

master
Pascal Gloor 5 years ago
parent
commit
efe97233ef
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      www/js/autodoc.js

+ 1
- 0
www/js/autodoc.js View File

@@ -52,6 +52,7 @@ function change_page() {
}

function isvisible(obj) {
console.log(obj);
var top_of_element = $(obj).offset().top;
var bottom_of_element = $(obj).offset().top + $(obj).outerHeight();
var bottom_of_screen = $(window).scrollTop() + $(window).innerHeight();

Loading…
Cancel
Save