mirror of
https://github.com/misode/misode.github.io.git
synced 2026-05-04 14:42:53 +00:00
Fix some textarea's not working correctly
This commit is contained in:
+2
-2
@@ -740,7 +740,7 @@
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">NBT</span>
|
||||
</div>
|
||||
<textarea type="text" class="form-control code" onchange="updateField(this, 'nbt')" onclick="this.select()"></textarea>
|
||||
<textarea type="text" class="form-control nbt code" onchange="updateField(this, 'nbt')" onclick="this.select()"></textarea>
|
||||
</div>
|
||||
<button class="btn btn-light mt-3 dropdown-toggle" type="button" onclick="toggleEntityLocation(this)">Location</button>
|
||||
</div>
|
||||
@@ -801,7 +801,7 @@
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">NBT</span>
|
||||
</div>
|
||||
<textarea type="text" class="form-control code" onchange="updateField(this, 'nbt')" onclick="this.select()"></textarea>
|
||||
<textarea type="text" class="form-control nbt code" onchange="updateField(this, 'nbt')" onclick="this.select()"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -246,7 +246,7 @@ function generateFunction(func, i) {
|
||||
if (typeof value !== 'string') {
|
||||
value = JSON.stringify(value);
|
||||
}
|
||||
$function.find('.function-name input').val(value).keydown(e => preventNewline(e));
|
||||
$function.find('.function-name textarea').val(value).keydown(e => preventNewline(e));
|
||||
} else {
|
||||
delete func.name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user