mirror of
https://github.com/flynx/pWiki.git
synced 2025-11-01 19:40:10 +00:00
Compare commits
No commits in common. "ada5c336654868c5dea6a663611e758cd1d79814" and "ea9e521e91c84f69989b12b3a6a030897cc6242a" have entirely different histories.
ada5c33665
...
ea9e521e91
@ -4,7 +4,6 @@
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
// XXX add something like .closeToViewport(..)
|
||||
Element.prototype.visibleInViewport = function(partial=false){
|
||||
var { top, left, bottom, right } = this.getBoundingClientRect()
|
||||
var { innerHeight, innerWidth } = window
|
||||
|
||||
@ -752,4 +752,4 @@ var setup = function(){
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!-- vim:set ts=4 sw=4 nowrap : -->
|
||||
<!-- vim:set ts=4 sw=4 : -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user