summaryrefslogtreecommitdiffstats
path: root/public_html/data/js
diff options
context:
space:
mode:
Diffstat (limited to 'public_html/data/js')
-rw-r--r--public_html/data/js/application.js2
-rw-r--r--public_html/data/js/vendor/jquery.lazyload.js10
2 files changed, 6 insertions, 6 deletions
diff --git a/public_html/data/js/application.js b/public_html/data/js/application.js
index 374ae56fe..71aac8328 100644
--- a/public_html/data/js/application.js
+++ b/public_html/data/js/application.js
@@ -88,7 +88,7 @@ define(
setupLazyLoadingImages: function () {
if ($(ui.lazyLoadingImages).length > 0) {
- $(ui.lazyLoadingImages).show().lazyload({treshold: 200});
+ $(ui.lazyLoadingImages).lazyload({treshold: 200});
}
}
};
diff --git a/public_html/data/js/vendor/jquery.lazyload.js b/public_html/data/js/vendor/jquery.lazyload.js
index 5a22d8ea8..0b1b86e00 100644
--- a/public_html/data/js/vendor/jquery.lazyload.js
+++ b/public_html/data/js/vendor/jquery.lazyload.js
@@ -89,11 +89,11 @@
self.loaded = false;
/* If no src attribute given use data:uri. */
- if ($self.attr("src") === undefined || $self.attr("src") === false) {
- if ($self.is("img")) {
- $self.attr("src", settings.placeholder);
- }
- }
+ //if ($self.attr("src") === undefined || $self.attr("src") === false) {
+ //if ($self.is("img")) {
+ //$self.attr("src", settings.placeholder);
+ //}
+ //}
/* When appear is triggered load original image. */
$self.one("appear", function() {