From 597ce02c50d1d22a7ac65bc155991080ac6f0b52 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 10 Sep 2016 15:57:12 -0700 Subject: [PATCH] Remove filename tooltip from image in gallery. --- src/Images/Gallery.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Images/Gallery.coffee b/src/Images/Gallery.coffee index 78448bf55..38fee7532 100644 --- a/src/Images/Gallery.coffee +++ b/src/Images/Gallery.coffee @@ -133,8 +133,7 @@ Gallery = load: (thumb, errorCB) -> ext = thumb.href.match /\w*$/ elType = {'webm': 'video', 'pdf': 'iframe'}[ext] or 'img' - file = $.el elType, - title: thumb.title + file = $.el elType $.extend file.dataset, thumb.dataset $.on file, 'error', errorCB file.src = thumb.href