diff options
author | Phil Davis <phil.davis@inf.org> | 2015-09-30 08:57:14 +0300 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-09-30 08:57:14 +0300 |
commit | 993aa6eeb6f9cae4df1b3ebe63eedc42c21d1115 (patch) | |
tree | ada74828a4edb8f6eca6b3c50268b3e402ce57ce | |
parent | 3bf1774ec8481452384ceece1df99f59c7cd67de (diff) |
domHeight spelling
I think this is localized to this file only, and so does not cause any actual bug.
-rw-r--r-- | js/galleryimage.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/galleryimage.js b/js/galleryimage.js index fe6faca2..c4a16552 100644 --- a/js/galleryimage.js +++ b/js/galleryimage.js @@ -21,7 +21,7 @@ this.etag = etag; this.thumbnail = null; this.domDef = null; - this.domHeigth = null; + this.domHeight = null; }; GalleryImage.prototype = { @@ -76,8 +76,8 @@ */ getDom: function (targetHeight) { var image = this; - if (this.domDef === null || this.domHeigth !== targetHeight) { - this.domHeigth = targetHeight; + if (this.domDef === null || this.domHeight !== targetHeight) { + this.domHeight = targetHeight; // img is a Thumbnail.image this.domDef = this.getThumbnail(false).then(function (img) { $(img).css({ |