From a41a2bfd5ebe24d981c5896b6446476312789a52 Mon Sep 17 00:00:00 2001 From: czaks Date: Fri, 31 Jan 2014 18:21:05 +0100 Subject: [PATCH] Revert "wpaint.js: actually actually fix that" This reverts commit 81ee819e5ab7a5f11405c3283d9a7d414fc3ac61. --- js/wpaint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/wpaint.js b/js/wpaint.js index 5bbf487e..0bd2c0cc 100644 --- a/js/wpaint.js +++ b/js/wpaint.js @@ -87,7 +87,7 @@ oekaki.init = function() { }); - $("#wpaintdiv").on("keydown", "input", function(e) { if (e.keycode == 13) { e.preventDefault(); e.stopPropagation(); } }); + $("#wpaintdiv input").on("keydown", function(e) { if (e.keycode == 13) { e.preventDefault(); e.stopPropagation(); } }); $('#wpaintctr .ui-resizable-se').css({'height':'12px', 'width':'12px'}); } });