mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
fix UpdateCheckBar image alt
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
a4c1aee5ea
commit
5981887705
@ -75,11 +75,16 @@ export default React.createClass({
|
||||
},
|
||||
|
||||
render: function() {
|
||||
const imgSrc = this.state.done ? 'img/warning.svg' : 'img/spinner.gif';
|
||||
let image;
|
||||
if (this.state.done) {
|
||||
image = <img className="mx_MatrixToolbar_warning" src="img/warning.svg" width="24" height="23" alt="/!\"/>;
|
||||
} else {
|
||||
image = <img className="mx_MatrixToolbar_warning" src="'img/spinner.gif'" width="24" height="23" alt={this.state.message}/>;
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="mx_MatrixToolbar">
|
||||
<img className="mx_MatrixToolbar_warning" src={imgSrc} width="24" height="23" alt="/!\"/>
|
||||
{image}
|
||||
<div className="mx_MatrixToolbar_content">
|
||||
{this.state.message}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user