瀏覽代碼

fix: typeof returns a string, so this condition was always true

j8
Simon Honegger 4 年之前
父節點
當前提交
af39186a5f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      conference.js

+ 1
- 1
conference.js 查看文件

@@ -1261,7 +1261,7 @@ export default {
1261 1261
             items[key] = param[1];
1262 1262
         }
1263 1263
 
1264
-        if (typeof items.e2eekey !== undefined) {
1264
+        if (typeof items.e2eekey !== 'undefined') {
1265 1265
             APP.store.dispatch(setE2EEKey(items.e2eekey));
1266 1266
 
1267 1267
             // Clean URL in browser history.

Loading…
取消
儲存