Prevent editing the "Welcome to KoboldAI!" message
This commit is contained in:
parent
a327eed2c3
commit
09d540b580
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue