minor refactoring...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2012-06-07 02:23:38 +04:00
parent d07094674a
commit 01d914cd60

View File

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