Changed letter case.

This commit is contained in:
Maxwell Kepler 2018-10-24 19:06:48 +01:00
parent 5e9db3647a
commit 5d35ce9449
2 changed files with 4 additions and 4 deletions

View file

@ -47,7 +47,7 @@ limitations under the License.
transform: translate(-50%, -50%);
}
.mx_MImageBody_GIFlabel {
.mx_MImageBody_gifLabel {
position: absolute;
display: block;
top: 0px;

View file

@ -278,7 +278,7 @@ export default class MImageBody extends React.Component {
let img = null;
let placeholder = null;
let giflabel = null;
let gifLabel = null;
// e2e image hasn't been decrypted yet
if (content.file !== undefined && this.state.decryptedUrl === null) {
@ -304,7 +304,7 @@ export default class MImageBody extends React.Component {
}
if (this._isGif() && !SettingsStore.getValue("autoplayGifsAndVideos") && !this.state.hover) {
giflabel = <p className="mx_MImageBody_GIFlabel">GIF</p>;
gifLabel = <p className="mx_MImageBody_gifLabel">GIF</p>;
}
const thumbnail = (
@ -324,7 +324,7 @@ export default class MImageBody extends React.Component {
<div style={{display: !showPlaceholder ? undefined : 'none'}}>
{ img }
{ giflabel }
{ gifLabel }
</div>
{ this.state.hover && this.getTooltip() }