Remove no-connection class from send form on connection
| @@ -316,7 +316,7 @@ function RA_checkOnlineStatus() { | ||
| 316 | 316 | if (online_status == 'no_connection') { |
| 317 | 317 | const send_textarea = $('#send_textarea'); |
| 318 | 318 | send_textarea.attr('placeholder', send_textarea.attr('no_connection_text')); //Input bar placeholder tells users they are not connected |
| 319 | 319 | //$('#send_form').addClass('no-connection'); //entire input form area is red when not connected |
| 320 | 320 | $('#send_but').addClass('displayNone'); //send button is hidden when not connected; |
| 321 | 321 | $('#mes_continue').addClass('displayNone'); //continue button is hidden when not connected; |
| 322 | 322 | $('#mes_impersonate').addClass('displayNone'); //continue button is hidden when not connected; |
| @@ -327,7 +327,7 @@ function RA_checkOnlineStatus() { | ||
| 327 | 327 | if (online_status !== undefined && online_status !== 'no_connection') { |
| 328 | 328 | const send_textarea = $('#send_textarea'); |
| 329 | 329 | send_textarea.attr('placeholder', send_textarea.attr('connected_text')); //on connect, placeholder tells user to type message |
| 330 | 330 | //$('#send_form').removeClass('no-connection'); |
| 331 | 331 | $('#API-status-top').removeClass('fa-plug-circle-exclamation redOverlayGlow'); |
| 332 | 332 | $('#API-status-top').addClass('fa-plug'); |
| 333 | 333 | connection_made = true; |