Fixes JS error in API module

This commit is contained in:
hristoterezov 2016-01-25 14:08:50 -06:00
parent 5bd0074eff
commit d09021457b
1 changed files with 1 additions and 1 deletions

View File

@ -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",