Remove filename tooltip from image in gallery.

This commit is contained in:
ccd0 2016-09-10 15:57:12 -07:00
parent 7660725ba2
commit 597ce02c50

View File

@ -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