You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bottom_toolbar.js 594B

12345678910111213141516171819202122
  1. var BottomToolbar = (function (my) {
  2. my.toggleChat = function() {
  3. PanelToggler.toggleChat();
  4. };
  5. my.toggleContactList = function() {
  6. PanelToggler.toggleContactList();
  7. };
  8. my.toggleFilmStrip = function() {
  9. var filmstrip = $("#remoteVideos");
  10. filmstrip.toggleClass("hidden");
  11. };
  12. $(document).bind("remotevideo.resized", function (event, width, height) {
  13. var bottom = (height - $('#bottomToolbar').outerHeight())/2 + 18;
  14. $('#bottomToolbar').css({bottom: bottom + 'px'});
  15. });
  16. return my;
  17. }(BottomToolbar || {}));