From 01d914cd601fb6a6147b38f888a108c91d3d0d38 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 7 Jun 2012 02:23:38 +0400 Subject: [PATCH] minor refactoring... Signed-off-by: Alex A. Naanou --- ui/gallery.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/gallery.html b/ui/gallery.html index f8dd46b7..5fa06e7f 100755 --- a/ui/gallery.html +++ b/ui/gallery.html @@ -33,13 +33,13 @@ ISSUES: $(document).ready(function() { // setup event handlers... $(document).keydown(handleKeys) - $(".image").click(imageClickHandler) + $(".image").click(handleClick) // set the default position... $('.current-image').click() }); -function imageClickHandler(e) { +function handleClick(e) { var cur = $(this)