wpaint.js: prevent submission on color change
This commit is contained in:
parent
780fa67fe8
commit
3a97ff1a7e
@ -86,6 +86,8 @@ oekaki.init = function() {
|
|||||||
alsoResize: "#wpaintdiv, #wpaintdiv canvas",
|
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'});
|
$('#wpaintctr .ui-resizable-se').css({'height':'12px', 'width':'12px'});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user