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
path: root/js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-09-03 01:03:24 +0300
committerLukas Reschke <lukas@owncloud.com>2015-09-03 01:03:24 +0300
commitd96f99f8fe081906deff1d3052c4d1ac0b5b9ec4 (patch)
tree95f54b6cda3d1b9e9891a57ac4ff195b9715088b /js
parentd69145434c249415c413ccd9243a8ad76a8fddc8 (diff)
Use .text instead of .html
Diffstat (limited to 'js')
-rw-r--r--js/galleryimage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/galleryimage.js b/js/galleryimage.js
index 94d67fbf..ce924612 100644
--- a/js/galleryimage.js
+++ b/js/galleryimage.js
@@ -95,7 +95,7 @@
image.path);
var imageLabel = $('<span/>').addClass('image-label');
- var imageTitle = $('<span/>').addClass('title').html(
+ var imageTitle = $('<span/>').addClass('title').text(
OC.basename(image.path));
imageLabel.append(imageTitle);
a.hover(function () {