diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-09-03 01:03:24 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-09-03 01:03:24 +0300 |
commit | d96f99f8fe081906deff1d3052c4d1ac0b5b9ec4 (patch) | |
tree | 95f54b6cda3d1b9e9891a57ac4ff195b9715088b /js | |
parent | d69145434c249415c413ccd9243a8ad76a8fddc8 (diff) |
Use .text instead of .html
Diffstat (limited to 'js')
-rw-r--r-- | js/galleryimage.js | 2 |
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 () { |