Remove filename tooltip from image in gallery.
This commit is contained in:
parent
7660725ba2
commit
597ce02c50
@ -133,8 +133,7 @@ Gallery =
|
|||||||
load: (thumb, errorCB) ->
|
load: (thumb, errorCB) ->
|
||||||
ext = thumb.href.match /\w*$/
|
ext = thumb.href.match /\w*$/
|
||||||
elType = {'webm': 'video', 'pdf': 'iframe'}[ext] or 'img'
|
elType = {'webm': 'video', 'pdf': 'iframe'}[ext] or 'img'
|
||||||
file = $.el elType,
|
file = $.el elType
|
||||||
title: thumb.title
|
|
||||||
$.extend file.dataset, thumb.dataset
|
$.extend file.dataset, thumb.dataset
|
||||||
$.on file, 'error', errorCB
|
$.on file, 'error', errorCB
|
||||||
file.src = thumb.href
|
file.src = thumb.href
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user