FumesAI commited on
Commit
b2b90e7
1 Parent(s): 73e13d9

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -0
index.html CHANGED
@@ -201,6 +201,7 @@ socket.on('response', function(data) {
201
  var currentMessage = messages.lastChild;
202
  if (data.response === 'complete') {
203
  currentMessage = null;
 
204
  } else {
205
  if (!currentMessage || !currentMessage.classList.contains('ai-response')) {
206
  currentMessage = document.createElement('p');
 
201
  var currentMessage = messages.lastChild;
202
  if (data.response === 'complete') {
203
  currentMessage = null;
204
+ document.getElementById('btn').disabled = false
205
  } else {
206
  if (!currentMessage || !currentMessage.classList.contains('ai-response')) {
207
  currentMessage = document.createElement('p');