mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor refactoring...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
d07094674a
commit
01d914cd60
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user