wpaint.js: prevent submission on color change

This commit is contained in:
czaks 2014-01-31 18:12:08 +01:00
parent 780fa67fe8
commit 3a97ff1a7e

View File

@ -86,6 +86,8 @@ oekaki.init = function() {
alsoResize: "#wpaintdiv, #wpaintdiv canvas",
});
$("#wpaintdiv input").on("keydown", function(e) { if (e.keycode == 13) e.preventDefault(); });
$('#wpaintctr .ui-resizable-se').css({'height':'12px', 'width':'12px'});
}
});