diff options
author | David Baker <dbkr@matrix.org> | 2014-11-06 16:48:01 +0000 |
---|---|---|
committer | David Baker <dbkr@matrix.org> | 2014-11-06 16:49:33 +0000 |
commit | 4b256cab317ab02da549ce64a33911743f1b9d6f (patch) | |
tree | 3acfb9e620dfe30bac0c1ca65b2d89c5dd007eed /syweb/webclient/index.html | |
parent | Swap from using raw m.room.member events for room members to using actual Roo... (diff) | |
download | synapse-4b256cab317ab02da549ce64a33911743f1b9d6f.tar.xz |
Don't cache isWebRTCSupported because whether webRTC is supported might change part-way through the page's lifecycle if your webrtc support comes from some kind of injected content script (hello OpenWebRTC Sarafi extension)
Diffstat (limited to 'syweb/webclient/index.html')
-rw-r--r-- | syweb/webclient/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syweb/webclient/index.html b/syweb/webclient/index.html index 3ed968a5ea..992e8d3377 100644 --- a/syweb/webclient/index.html +++ b/syweb/webclient/index.html @@ -85,7 +85,7 @@ </span> </div> <span ng-show="currentCall.state == 'ringing'"> - <button ng-click="answerCall()" ng-disabled="!isWebRTCSupported" title="{{isWebRTCSupported ? '' : 'Your browser does not support VoIP' }}">Answer {{ currentCall.type }} call</button> + <button ng-click="answerCall()" ng-disabled="!isWebRTCSupported()" title="{{isWebRTCSupported() ? '' : 'Your browser does not support VoIP' }}">Answer {{ currentCall.type }} call</button> <button ng-click="hangupCall()">Reject</button> </span> <button ng-click="hangupCall()" ng-show="currentCall && currentCall.state != 'ringing' && currentCall.state != 'ended' && currentCall.state != 'fledgling'">Hang up</button> |