diff --git a/lib/webrtc.io.js b/lib/webrtc.io.js index 7c1a8e8..0045789 100644 --- a/lib/webrtc.io.js +++ b/lib/webrtc.io.js @@ -479,8 +479,9 @@ if (navigator.webkitGetUserMedia) { rtc.addDataChannels = function() { if (!rtc.dataChannelSupport) return; - for (var connection in rtc.peerConnections) - rtc.createDataChannel(connection); + for (var connection in rtc.peerConnections) { + rtc.createDataChannel(connection); + } };