Skip to content

Commit

Permalink
Fix DirectChat toggled event.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Jun 13, 2020
1 parent 4101916 commit f94fa97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/js/DirectChat.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ import $ from 'jquery'

const NAME = 'DirectChat'
const DATA_KEY = 'lte.directchat'
const EVENT_KEY = `.${DATA_KEY}`
const JQUERY_NO_CONFLICT = $.fn[NAME]

const EVENT_TOGGLED = 'toggled{EVENT_KEY}' // TODO: missing $ and variable EVENT_KEY
const EVENT_TOGGLED = `toggled${EVENT_KEY}`

const SELECTOR_DATA_TOGGLE = '[data-widget="chat-pane-toggle"]'
const SELECTOR_DIRECT_CHAT = '.direct-chat'
Expand Down

0 comments on commit f94fa97

Please sign in to comment.