fixes #1628, disable resizing textarea apart from the dialog
This commit is contained in:
@@ -297,7 +297,8 @@ Danbooru.Note = {
|
|||||||
$textarea = $('<textarea></textarea>');
|
$textarea = $('<textarea></textarea>');
|
||||||
$textarea.css({
|
$textarea.css({
|
||||||
width: "97%",
|
width: "97%",
|
||||||
height: "95%"
|
height: "95%",
|
||||||
|
resize: "none",
|
||||||
});
|
});
|
||||||
|
|
||||||
if ($note_body.html() !== "<em>Click to edit</em>") {
|
if ($note_body.html() !== "<em>Click to edit</em>") {
|
||||||
|
|||||||
Reference in New Issue
Block a user