Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <oparoz@users.noreply.github.com>2015-09-30 11:33:49 +0300
committerOlivier Paroz <oparoz@users.noreply.github.com>2015-09-30 11:33:49 +0300
commit893838bafbdadce68a8722835d0946e64812f608 (patch)
treed88871fbd2e182d98f838f533d007de1fac1dd18
parentb74bdb36ff7492a85474df9d8a56950bdec2fd1d (diff)
parent993aa6eeb6f9cae4df1b3ebe63eedc42c21d1115 (diff)
Merge pull request #394 from owncloud/phil-davis-domHeight-spelling
domHeight spelling
-rw-r--r--js/galleryimage.js6
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({