File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
com.developer.nefarious.zjoule.plugin/resources/views Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ function receiveMessage(output) {
65
65
addBotMessage ( output ) ;
66
66
updatePlaceholder ( ) ;
67
67
clearMessageAndScrollDown ( ) ;
68
- }
68
+ }
69
69
70
70
function login ( ) {
71
71
hideInstructions ( ) ;
@@ -119,7 +119,7 @@ function updateTag(file) {
119
119
function updatePlaceholder ( ) {
120
120
const chatBox = document . getElementById ( "chatBox" ) ;
121
121
const hasMessages = ! ! chatBox . querySelector ( ".message" ) ;
122
-
122
+
123
123
if ( hasMessages ) {
124
124
hidePlaceholder ( ) ;
125
125
} else {
@@ -160,8 +160,8 @@ function finishLoading() {
160
160
const chatBox = document . getElementById ( 'chatBox' ) ;
161
161
const botMessages = document . getElementsByClassName ( 'message bot-message' ) ;
162
162
if ( botMessages . length > 0 ) {
163
- const loadingIndicator = botMessages [ botMessages . length - 1 ] ;
164
- chatBox . removeChild ( loadingIndicator ) ;
163
+ const loadingIndicator = botMessages [ botMessages . length - 1 ] ;
164
+ chatBox . removeChild ( loadingIndicator ) ;
165
165
}
166
166
unblockInput ( ) ;
167
167
}
You can’t perform that action at this time.
0 commit comments