Index: trunk/parsers/wikidom/lib/synth/views/es.DocumentView.js |
— | — | @@ -74,9 +74,8 @@ |
75 | 75 | //console.log(position.top); |
76 | 76 | |
77 | 77 | if (position.top - $(window).scrollTop() > window.innerHeight) { |
78 | | - console.log("b " + position.top); |
79 | | - position.top = window.innerHeight + $(window).scrollTop() + 10; |
80 | | - console.log("j " + position.top); |
| 78 | + position.top = window.innerHeight + $(window).scrollTop(); |
| 79 | + position.left = window.innerWidth; |
81 | 80 | } |
82 | 81 | |
83 | 82 | |
— | — | @@ -97,10 +96,8 @@ |
98 | 97 | } |
99 | 98 | |
100 | 99 | if (position.top - $(window).scrollTop() > window.innerHeight) { |
101 | | - console.log("b " + position.top); |
102 | | - position.top = window.innerHeight + $(window).scrollTop() + 10; |
| 100 | + position.top = window.innerHeight + $(window).scrollTop(); |
103 | 101 | position.left = window.innerWidth; |
104 | | - console.log("j " + position.top); |
105 | 102 | } |
106 | 103 | |
107 | 104 | |