Changed letter case.

pull/21833/head
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%); transform: translate(-50%, -50%);
} }
.mx_MImageBody_GIFlabel { .mx_MImageBody_gifLabel {
position: absolute; position: absolute;
display: block; display: block;
top: 0px; top: 0px;

View File

@ -278,7 +278,7 @@ export default class MImageBody extends React.Component {
let img = null; let img = null;
let placeholder = null; let placeholder = null;
let giflabel = null; let gifLabel = null;
// e2e image hasn't been decrypted yet // e2e image hasn't been decrypted yet
if (content.file !== undefined && this.state.decryptedUrl === null) { 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) { 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 = ( const thumbnail = (
@ -324,7 +324,7 @@ export default class MImageBody extends React.Component {
<div style={{display: !showPlaceholder ? undefined : 'none'}}> <div style={{display: !showPlaceholder ? undefined : 'none'}}>
{ img } { img }
{ giflabel } { gifLabel }
</div> </div>
{ this.state.hover && this.getTooltip() } { this.state.hover && this.getTooltip() }