diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2016-12-05 21:18:02 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-01-10 01:01:01 +0300 |
commit | 2edaabfe669f7e865a56eab321db41fe9cdcad89 (patch) | |
tree | 3460f721378655aa3395e221fd864afd699f7eff /app/assets/javascripts/droplab | |
parent | a510791bb2fb537fd2fbe4a9f6b94e38fe5a6094 (diff) |
Fix image data-src
Diffstat (limited to 'app/assets/javascripts/droplab')
-rw-r--r-- | app/assets/javascripts/droplab/droplab.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/droplab/droplab.js b/app/assets/javascripts/droplab/droplab.js index aff47aa23cf..0152eef793f 100644 --- a/app/assets/javascripts/droplab/droplab.js +++ b/app/assets/javascripts/droplab/droplab.js @@ -108,7 +108,7 @@ Object.assign(DropDown.prototype, { // Help set the image src template var imageTags = template.content.querySelectorAll('img[data-src]'); for(var i = 0; i < imageTags.length; i++) { - var imageTag = imagetags[i]; + var imageTag = imageTags[i]; imageTag.src = imageTag.getAttribute('data-src'); imageTag.removeAttribute('data-src'); } |