diff --git a/app.js b/app.js index f3ab204e4..e0ab84592 100644 --- a/app.js +++ b/app.js @@ -836,6 +836,7 @@ function getConferenceHandler() { } function toggleVideo() { + buttonClick("#video", "icon-camera icon-camera-disabled"); if (!(connection && connection.jingle.localVideo)) return; @@ -1099,7 +1100,12 @@ $(document).ready(function () { Chat.init(); $('body').popover({ selector: '[data-toggle=popover]', - trigger: 'click hover'}); + trigger: 'click hover', + content: function() { + return this.getAttribute("content") + + KeyboardShortcut.getShortcut(this.getAttribute("shortcut")); + } + }); // Set the defaults for prompt dialogs. jQuery.prompt.setDefaults({persistent: false}); diff --git a/index.html b/index.html index 015ef7fe9..738983ed1 100644 --- a/index.html +++ b/index.html @@ -50,6 +50,7 @@ + @@ -156,62 +157,62 @@