mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-25 16:31:37 +02:00
Merge pull request #3055 from matrix-org/jryans/message-panel-linting
Fix linting in MessagePanel
This commit is contained in:
commit
12684c396c
@ -3,7 +3,6 @@
|
|||||||
src/component-index.js
|
src/component-index.js
|
||||||
src/components/structures/BottomLeftMenu.js
|
src/components/structures/BottomLeftMenu.js
|
||||||
src/components/structures/CreateRoom.js
|
src/components/structures/CreateRoom.js
|
||||||
src/components/structures/MessagePanel.js
|
|
||||||
src/components/structures/RoomDirectory.js
|
src/components/structures/RoomDirectory.js
|
||||||
src/components/structures/RoomStatusBar.js
|
src/components/structures/RoomStatusBar.js
|
||||||
src/components/structures/RoomView.js
|
src/components/structures/RoomView.js
|
||||||
|
@ -15,6 +15,8 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* global Velocity */
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
@ -622,6 +624,7 @@ module.exports = React.createClass({
|
|||||||
this._readMarkerGhostNode = ghostNode;
|
this._readMarkerGhostNode = ghostNode;
|
||||||
|
|
||||||
if (ghostNode) {
|
if (ghostNode) {
|
||||||
|
// eslint-disable-next-line new-cap
|
||||||
Velocity(ghostNode, {opacity: '0', width: '10%'},
|
Velocity(ghostNode, {opacity: '0', width: '10%'},
|
||||||
{duration: 400, easing: 'easeInSine',
|
{duration: 400, easing: 'easeInSine',
|
||||||
delay: 1000});
|
delay: 1000});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user