diff options
author | Olivier Paroz <oparoz@users.noreply.github.com> | 2015-09-30 11:33:49 +0300 |
---|---|---|
committer | Olivier Paroz <oparoz@users.noreply.github.com> | 2015-09-30 11:33:49 +0300 |
commit | 893838bafbdadce68a8722835d0946e64812f608 (patch) | |
tree | d88871fbd2e182d98f838f533d007de1fac1dd18 | |
parent | b74bdb36ff7492a85474df9d8a56950bdec2fd1d (diff) | |
parent | 993aa6eeb6f9cae4df1b3ebe63eedc42c21d1115 (diff) |
Merge pull request #394 from owncloud/phil-davis-domHeight-spelling
domHeight spelling
-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({ |