More tooltips :)
This commit is contained in:
parent
92eeb16c4b
commit
a15265b0c5
@ -48,7 +48,10 @@ Template.tabButtons.events
|
||||
myTabs.updateValue newTabs
|
||||
$(".publicChatTab").addClass('active') # doesn't work when closing the tab that's not currently active :(
|
||||
Meteor.call("deletePrivateChatMessages", getInSession("userId"), @userId)
|
||||
|
||||
|
||||
Template.chatInput.rendered = ->
|
||||
$('input[rel=tooltip]').tooltip()
|
||||
|
||||
Template.chatInput.events
|
||||
'keypress #newMessageInput': (event) -> # user pressed a button inside the chatbox
|
||||
if event.which is 13 # Check for pressing enter to submit message
|
||||
|
@ -96,7 +96,7 @@
|
||||
|
||||
<template name="chatInput">
|
||||
<br/>
|
||||
<input type="text" id="newMessageInput" placeholder="Write a message..." />
|
||||
<input type="text" id="newMessageInput" placeholder="Write a message..." rel="tooltip" data-placement="top" title="Write a new message" />
|
||||
</template>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user