mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
Use a textarea instead of a prompt for export to prevent truncation in
Chrome.
This commit is contained in:
@@ -611,6 +611,10 @@ var Events = {
|
||||
$('<div>').text(scene.text[i]).appendTo(desc);
|
||||
}
|
||||
|
||||
if(scene.textarea) {
|
||||
$('<textarea>').val(scene.textarea).appendTo(desc);
|
||||
}
|
||||
|
||||
// Draw any loot
|
||||
if(scene.loot) {
|
||||
Events.drawLoot(scene.loot);
|
||||
|
||||
Reference in New Issue
Block a user