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

idiot - fix bind warnings

This commit is contained in:
Matthew Hodgson
2016-01-10 04:22:09 +00:00
parent 27d72fb1dc
commit 4f14ead741

View File

@@ -216,7 +216,7 @@ module.exports = React.createClass({
<img src="img/tick.svg" width="17" height="14" alt="./"/> <img src="img/tick.svg" width="17" height="14" alt="./"/>
</div> </div>
} }
var boundClick = self.onColorSchemeChanged.bind(this, i) var boundClick = self.onColorSchemeChanged.bind(self, i)
return ( return (
<div className="mx_RoomSettings_roomColor" <div className="mx_RoomSettings_roomColor"
key={ "room_color_" + i } key={ "room_color_" + i }