From: David ‘Bombe’ Roden Date: Fri, 23 Sep 2011 07:56:35 +0000 (+0200) Subject: Don’t filter click events for the buttons. X-Git-Tag: 0.7^2~2^2~35 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=07212fff97dfa1efd9c2860910e8f4059e246e6b;p=Sone.git Don’t filter click events for the buttons. --- 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"); }); }); };