com web/php: fix "bork bork bork" firing multiple times: js/common.js

From: Date: Sun, 07 Sep 2014 12:30:22 +0000
Subject: com web/php: fix "bork bork bork" firing multiple times: js/common.js
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-21876@lists.php.net to get a copy of this message
Commit: cdeebc7f7a32dc75d3c90037241da3d0b73eb916 Author: Peter Cowburn <salathe@php.net> Sun, 7 Sep 2014 13:30:22 +0100 Parents: 84f2d0b2896bd5f3bd92bf0d215f288a020b9a29 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=cdeebc7f7a32dc75d3c90037241da3d0b73eb916 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;

« previous php.webmaster (#21876) next »