Made the Toggle Chat button work.
This commit is contained in:
parent
d9f8b95680
commit
74b85b56fc
@ -74,6 +74,9 @@ Template.menu.events
|
|||||||
'click .slideButton': (event) ->
|
'click .slideButton': (event) ->
|
||||||
toggleMenu()
|
toggleMenu()
|
||||||
|
|
||||||
|
'click .toggleChatButton': (event) ->
|
||||||
|
toggleChatbar()
|
||||||
|
|
||||||
Template.main.rendered = ->
|
Template.main.rendered = ->
|
||||||
$("#dialog").dialog(
|
$("#dialog").dialog(
|
||||||
modal: true
|
modal: true
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
|
|
||||||
<template name="menu">
|
<template name="menu">
|
||||||
<div id="{{id}}">
|
<div id="{{id}}">
|
||||||
{{> makeButton btn_class="slideButton" i_class="ion-chatbubble" label="Chat"}}
|
{{> makeButton btn_class="slideButton toggleChatButton" i_class="ion-chatbubble" label="Chat"}}
|
||||||
{{> makeButton btn_class="slideButton settingsIcon" i_class="ion-gear-b" label="Settings"}}
|
{{> makeButton btn_class="slideButton settingsIcon" i_class="ion-gear-b" label="Settings"}}
|
||||||
{{> makeButton btn_class="slideButton signOutIcon" i_class="ion-log-out" label="Log out"}}
|
{{> makeButton btn_class="slideButton signOutIcon" i_class="ion-log-out" label="Log out"}}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user