aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/assets
diff options
context:
space:
mode:
authorCallum Macrae <callum@macr.ae>2015-05-30 12:18:44 +0200
committerCallum Macrae <callum@macr.ae>2015-05-30 12:18:44 +0200
commitd1c4f5bc352b89da7b0fba4925c68f596f623494 (patch)
tree3b3f8e5a92ba7b05a12bb00f3b81d6bce267f55f /phpBB/assets
parent9366f29fd7d0bf439b0a57bcea9f2753881b6509 (diff)
downloadforums-d1c4f5bc352b89da7b0fba4925c68f596f623494.tar
forums-d1c4f5bc352b89da7b0fba4925c68f596f623494.tar.gz
forums-d1c4f5bc352b89da7b0fba4925c68f596f623494.tar.bz2
forums-d1c4f5bc352b89da7b0fba4925c68f596f623494.tar.xz
forums-d1c4f5bc352b89da7b0fba4925c68f596f623494.zip
[ticket/13882] Added tiny docblock to lazyLoadAvatars
PHPBB3-13882
Diffstat (limited to 'phpBB/assets')
-rw-r--r--phpBB/assets/javascript/core.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js
index 819e9329a4..ffd2f04c88 100644
--- a/phpBB/assets/javascript/core.js
+++ b/phpBB/assets/javascript/core.js
@@ -1612,6 +1612,9 @@ phpbb.registerPageDropdowns = function() {
});
};
+/**
+ * Handle avatars to be lazy loaded.
+ */
phpbb.lazyLoadAvatars = function loadAvatars() {
$('.avatar[data-src]').each(function () {
var $avatar = $(this);