Fixes JS error in API module

pull/470/head
hristoterezov 9 years ago
parent 5bd0074eff
commit d09021457b
  1. 2
      modules/API/API.js

@ -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…
Cancel
Save