mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Prevent editing the "Welcome to KoboldAI!" message
This commit is contained in:
@ -1088,6 +1088,8 @@ $(document).ready(function(){
|
|||||||
changemode();
|
changemode();
|
||||||
}
|
}
|
||||||
unbindGametext();
|
unbindGametext();
|
||||||
|
allowedit = gamestarted && $("#allowediting").prop('checked');
|
||||||
|
game_text.attr('contenteditable', allowedit);
|
||||||
modified_chunks = new Set();
|
modified_chunks = new Set();
|
||||||
empty_chunks = new Set();
|
empty_chunks = new Set();
|
||||||
game_text.html(msg.data);
|
game_text.html(msg.data);
|
||||||
|
Reference in New Issue
Block a user