From 07212fff97dfa1efd9c2860910e8f4059e246e6b Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 23 Sep 2011 09:56:35 +0200 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20filter=20click=20events=20for=20?= =?utf8?q?the=20buttons.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/imageBrowser.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index f34f4a6..777d59e 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -88,7 +88,7 @@ $(showElement).hide(); $(hideElement).show(); } - return false; + return $(event.target).is("button"); }); }); }; -- 2.7.4