Fixes JS error in API module
This commit is contained in:
parent
5bd0074eff
commit
d09021457b
|
@ -149,7 +149,7 @@ function isEventEnabled (name) {
|
|||
* @param object data associated with the event
|
||||
*/
|
||||
function triggerEvent (name, object) {
|
||||
if (this.isEnabled() && isEventEnabled(name)) {
|
||||
if (isEnabled() && isEventEnabled(name)) {
|
||||
sendMessage({
|
||||
type: "event",
|
||||
action: "result",
|
||||
|
|
Loading…
Reference in New Issue