fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usunięcie nieużywanej już biblioteki jquery.fieldselection.js.
[redakcja.git]
/
project
/
static
/
js
/
jquery.lazyload.js
diff --git
a/project/static/js/jquery.lazyload.js
b/project/static/js/jquery.lazyload.js
index
ea3de6f
..
522250f
100644
(file)
--- a/
project/static/js/jquery.lazyload.js
+++ b/
project/static/js/jquery.lazyload.js
@@
-12,7
+12,7
@@
}
var container = this;
}
var container = this;
- container.data('la
stScroll
', -10000);
+ container.data('la
zyload:lastCheckedScrollTop
', -10000);
function aboveViewport(container, element, threshold) {
return $(container).offset().top >= $(element).offset().top + $(element).height() + threshold;
function aboveViewport(container, element, threshold) {
return $(container).offset().top >= $(element).offset().top + $(element).height() + threshold;
@@
-23,8
+23,8
@@
}
function checkScroll() {
}
function checkScroll() {
- if (Math.abs(container.scrollTop() - container.data('la
stScroll
')) > settings.scrollThreshold) {
- container.data('la
stScroll
', container.scrollTop());
+ if (Math.abs(container.scrollTop() - container.data('la
zyload:lastCheckedScrollTop
')) > settings.scrollThreshold) {
+ container.data('la
zyload:lastCheckedScrollTop
', container.scrollTop());
$(pattern, container).each(function() {
if (aboveViewport(container, this, settings.threshold)
$(pattern, container).each(function() {
if (aboveViewport(container, this, settings.threshold)