1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Linkify URLs

This commit is contained in:
David Baker
2015-07-09 15:41:19 +01:00
parent 0daab63b4a
commit a00510c1ca
5 changed files with 14 additions and 3 deletions

View File

@@ -16,5 +16,10 @@ limitations under the License.
'use strict';
var linkifyElement = require('linkifyjs/element');
module.exports = {
componentDidMount: function() {
linkifyElement(this.refs.content.getDOMNode());
}
};

View File

@@ -16,6 +16,11 @@ limitations under the License.
'use strict';
var linkifyElement = require('linkifyjs/element');
module.exports = {
componentDidMount: function() {
linkifyElement(this.refs.content.getDOMNode());
}
};