Re: com web/php: fix "bork bork bork" firing multiple times: js/common.js
| From: | Levi Morrison | Date: | Mon, 08 Sep 2014 02:11:34 +0000 |
| Subject: | Re: com web/php: fix "bork bork bork" firing multiple times: js/common.js | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-19902@lists.php.net to get a copy of this message | ||
On Sun, Sep 7, 2014 at 6:30 AM, Peter Cowburn <salathe@php.net> wrote:
> Commit: a1e82fb9b90de941199326928782599c8f321671
> Author: Peter Cowburn <salathe@php.net> Sun, 7 Sep 2014 13:30:22 +0100
> Parents: 4f389c0b02f944c953b5f4099d86a42e763882f2
> Branches: master
>
> Link:
> http://git.php.net/?p=web/php.git;a=commitdiff;h=a1e82fb9b90de941199326928782599c8f321671
>
> Log:
> fix "bork bork bork" firing multiple times
>
> Changed paths:
> M js/common.js
>
>
> Diff:
> diff --git a/js/common.js b/js/common.js
> index 31216f5..5e038d4 100755
> --- a/js/common.js
> +++ b/js/common.js
> @@ -112,6 +112,7 @@ Mousetrap.bind("b o r k", function() {
> }).each(function(_, el) {
> el.textContent = bork(el.textContent);
> });
> + Mousetrap.unbind("b o r k");
> });
>
> var FIXED_HEADER_HEIGHT = 50;
>
>
I'm glad you fixed this breaking bug. Thank you from php.net users everywhere.