From fce5643d151c269b9fe0b9f377b3a104fd95ea02 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Thu, 6 Sep 2012 14:28:36 -0400 Subject: [PATCH] Handle Zephyr body clicks like the other clickable elements (imported from commit 97da4b22aea4e23dd0227b0179481cb3b5f7a65e) --- zephyr/static/js/zephyr.js | 4 ---- zephyr/static/templates/zephyr.html | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/zephyr/static/js/zephyr.js b/zephyr/static/js/zephyr.js index 0f02724e4a..fb04f3b529 100644 --- a/zephyr/static/js/zephyr.js +++ b/zephyr/static/js/zephyr.js @@ -198,13 +198,9 @@ $(function () { $('input, textarea, button').focus(function () { allow_hotkeys = false; }); - $('input, textarea, button').blur(function () { allow_hotkeys = true; }); - $("body").delegate("p", "click", function (){ - select_zephyr(get_id($(this).parent().parent())); - }); }); $(document).keydown(function (event) { diff --git a/zephyr/static/templates/zephyr.html b/zephyr/static/templates/zephyr.html index d765c2547a..9b734542be 100644 --- a/zephyr/static/templates/zephyr.html +++ b/zephyr/static/templates/zephyr.html @@ -1,6 +1,6 @@ {{! Client-side Mustache template for rendering zephyrs.}}

-

+

{{#is_huddle}}