@@ -206,7 +206,7 @@ module.exports = React.createClass({
206206 if ( this . state . syncState === "ERROR" ) {
207207 statusBar = (
208208 < div className = "mx_RoomView_connectionLostBar" >
209- < img src = "img/warning2.png" width = "30" height = "30" alt = "/!\" />
209+ < img src = "img/warning2.png" width = "30" height = "30" alt = "/!\ " />
210210 < div className = "mx_RoomView_connectionLostBar_textArea" >
211211 < div className = "mx_RoomView_connectionLostBar_title" >
212212 Connectivity to the server has been lost.
@@ -221,7 +221,7 @@ module.exports = React.createClass({
221221 else if ( this . state . hasUnsentMessages ) {
222222 statusBar = (
223223 < div className = "mx_RoomView_connectionLostBar" >
224- < img src = "img/warning2.png" width = "30" height = "30" alt = "/!\" />
224+ < img src = "img/warning2.png" width = "30" height = "30" alt = "/!\ " />
225225 < div className = "mx_RoomView_connectionLostBar_textArea" >
226226 < div className = "mx_RoomView_connectionLostBar_title" >
227227 Some of your messages have not been sent.
@@ -291,16 +291,8 @@ module.exports = React.createClass({
291291 </ div > ;
292292 }
293293
294- var statusArea , messageComposer ;
294+ var messageComposer ;
295295 if ( ! this . state . searchResults ) {
296- statusArea =
297- < div className = "mx_RoomView_statusArea" >
298- < div className = "mx_RoomView_statusAreaBox" >
299- < div className = "mx_RoomView_statusAreaBox_line" > </ div >
300- { statusBar }
301- </ div >
302- </ div >
303-
304296 messageComposer =
305297 < MessageComposer room = { this . state . room } roomView = { this } uploadFile = { this . uploadFile } />
306298 }
@@ -324,7 +316,12 @@ module.exports = React.createClass({
324316 </ ol >
325317 </ div >
326318 </ GeminiScrollbar >
327- { statusArea }
319+ < div className = "mx_RoomView_statusArea" >
320+ < div className = "mx_RoomView_statusAreaBox" >
321+ < div className = "mx_RoomView_statusAreaBox_line" > </ div >
322+ { this . state . searchResults ? null : statusBar }
323+ </ div >
324+ </ div >
328325 { messageComposer }
329326 </ div >
330327 ) ;
0 commit comments