diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gallery.dialog.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js index cfc89227..ed17cf9d 100644 --- a/lib/gallery.dialog.js +++ b/lib/gallery.dialog.js @@ -4,7 +4,7 @@ * @see openDialog() */ function handleDialogEvent(event) { - openDialog(event.data.element); + openDialog(event.currentTarget); event.preventDefault(); } |