You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Add _ to internal member
This commit is contained in:
@@ -88,7 +88,7 @@ module.exports = React.createClass({
|
|||||||
|
|
||||||
// Remember the read marker ghost node so we can do the cleanup that
|
// Remember the read marker ghost node so we can do the cleanup that
|
||||||
// Velocity requires
|
// Velocity requires
|
||||||
this.readMarkerGhostNode = null;
|
this._readMarkerGhostNode = null;
|
||||||
|
|
||||||
this._isMounted = true;
|
this._isMounted = true;
|
||||||
},
|
},
|
||||||
@@ -426,10 +426,10 @@ module.exports = React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_startAnimation: function(ghostNode) {
|
_startAnimation: function(ghostNode) {
|
||||||
if (this.readMarkerGhostNode) {
|
if (this._readMarkerGhostNode) {
|
||||||
Velocity.Utilities.removeData(this.readMarkerGhostNode);
|
Velocity.Utilities.removeData(this._readMarkerGhostNode);
|
||||||
}
|
}
|
||||||
this.readMarkerGhostNode = ghostNode;
|
this._readMarkerGhostNode = ghostNode;
|
||||||
|
|
||||||
if (ghostNode) {
|
if (ghostNode) {
|
||||||
Velocity(ghostNode, {opacity: '0', width: '10%'},
|
Velocity(ghostNode, {opacity: '0', width: '10%'},
|
||||||
|
|||||||
Reference in New Issue
Block a user