diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-06-30 08:07:13 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-06-30 08:07:13 -0400 |
commit | 236f7a9bd2807bc5340774d03b3a9bb05c9c6d0e (patch) | |
tree | 722b3079f6ee8760fbce21b57240fb9a052d37b8 /web/react | |
parent | ae86eab2895f11a30a7bd36e41d3cd966521cce6 (diff) | |
parent | 0dd73fb9b3faa8afb390792bf83ddddeb8c00d29 (diff) | |
download | chat-236f7a9bd2807bc5340774d03b3a9bb05c9c6d0e.tar.gz chat-236f7a9bd2807bc5340774d03b3a9bb05c9c6d0e.tar.bz2 chat-236f7a9bd2807bc5340774d03b3a9bb05c9c6d0e.zip |
Merge pull request #101 from rgarmsen2295/mm-983
MM-983 Fixed file preview removal in IE10
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/file_preview.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/file_preview.jsx b/web/react/components/file_preview.jsx index 99327c22f..17a1e2bc2 100644 --- a/web/react/components/file_preview.jsx +++ b/web/react/components/file_preview.jsx @@ -10,7 +10,7 @@ var Constants = require('../utils/constants.jsx'); module.exports = React.createClass({ handleRemove: function(e) { var previewDiv = e.target.parentNode.parentNode; - this.props.onRemove(previewDiv.dataset.filename); + this.props.onRemove(previewDiv.getAttribute('data-filename')); }, render: function() { var previews = []; |