Don’t filter click events for the buttons.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 23 Sep 2011 07:56:35 +0000 (09:56 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 23 Sep 2011 07:56:35 +0000 (09:56 +0200)
src/main/resources/templates/imageBrowser.html

index f34f4a6..777d59e 100644 (file)
@@ -88,7 +88,7 @@
                                                                                $(showElement).hide();
                                                                                $(hideElement).show();
                                                                        }
-                                                                       return false;
+                                                                       return $(event.target).is("button");
                                                                });
                                                        });
                                                };