Fixed the issue with sticky tooltips bound to the header buttons (made an old tooltip disappear on clicking a button).

This commit is contained in:
Maxim Khlobystov 2014-11-01 16:11:06 -07:00
parent 04ccd594ca
commit 3478d1de68

View File

@ -9,14 +9,19 @@ Template.footer.helpers
Template.header.events
"click .usersListIcon": (event) ->
$(".tooltip").hide()
toggleUsersList()
"click .chatBarIcon": (event) ->
$(".tooltip").hide()
toggleChatbar()
"click .videoFeedIcon": (event) ->
toggleCam @
$(".tooltip").hide()
toggleCam @
"click .audioFeedIcon": (event) ->
$(".tooltip").hide()
toggleVoiceCall @
"click .muteIcon": (event) ->
$(".tooltip").hide()
toggleMic @
"click .signOutIcon": (event) ->
response = confirm('Are you sure you want to exit?')
@ -24,15 +29,19 @@ Template.header.events
userLogout getInSession("meetingId"), getInSession("userId"), true
"click .hideNavbarIcon": (event) ->
$(".tooltip").hide()
toggleNavbar()
# "click .settingsIcon": (event) ->
# alert "settings"
"click .raiseHand": (event) ->
console.log "navbar raise own hand from client"
$(".tooltip").hide()
Meteor.call('userRaiseHand', getInSession("meetingId"), getInSession("DBID"), getInSession("userId"), getInSession("DBID") )
"click .lowerHand": (event) ->
$(".tooltip").hide()
Meteor.call('userLowerHand', getInSession("meetingId"), getInSession("DBID"), getInSession("userId"), getInSession("DBID") )
"click .whiteboardIcon": (event) ->
$(".tooltip").hide()
toggleWhiteBoard()
"mouseover #navbarMinimizedButton": (event) ->
$("#navbarMinimizedButton").removeClass("navbarMinimizedButtonSmall")