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:
authorPhil Davis <phil.davis@inf.org>2015-09-30 08:57:14 +0300
committerPhil Davis <phil.davis@inf.org>2015-09-30 08:57:14 +0300
commit993aa6eeb6f9cae4df1b3ebe63eedc42c21d1115 (patch)
treeada74828a4edb8f6eca6b3c50268b3e402ce57ce
parent3bf1774ec8481452384ceece1df99f59c7cd67de (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.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({