incorporate PR feedback
This commit is contained in:
parent
1125c62505
commit
1d8b08040e
5 changed files with 42 additions and 41 deletions
|
@ -31,9 +31,6 @@ module.exports = React.createClass({
|
|||
propTypes: {
|
||||
/* the MatrixEvent to show */
|
||||
mxEvent: React.PropTypes.object.isRequired,
|
||||
|
||||
/* callback called when images in events are loaded */
|
||||
onWidgetLoad: React.PropTypes.func,
|
||||
},
|
||||
|
||||
onClick: function onClick(ev) {
|
||||
|
@ -50,7 +47,7 @@ module.exports = React.createClass({
|
|||
if (content.info) {
|
||||
params.width = content.info.w;
|
||||
params.height = content.info.h;
|
||||
params.size = content.info.size;
|
||||
params.fileSize = content.info.size;
|
||||
}
|
||||
|
||||
Modal.createDialog(ImageView, params, "mx_Dialog_lightbox");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue