ソースを参照

Fixes JS error in API module

j8
hristoterezov 9年前
コミット
d09021457b
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      modules/API/API.js

+ 1
- 1
modules/API/API.js ファイルの表示

@@ -149,7 +149,7 @@ function isEventEnabled (name) {
149 149
  * @param object data associated with the event
150 150
  */
151 151
 function triggerEvent (name, object) {
152
-    if (this.isEnabled() && isEventEnabled(name)) {
152
+    if (isEnabled() && isEventEnabled(name)) {
153 153
         sendMessage({
154 154
             type: "event",
155 155
             action: "result",

読み込み中…
キャンセル
保存