浏览代码

Merge pull request #1382 from jitsi/load_error_handler_placeholder

Post load error handler
j8
Дамян Минков 8 年前
父节点
当前提交
3ee65748bb
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      index.html

+ 5
- 0
index.html 查看文件

@@ -113,6 +113,11 @@
113 113
 
114 114
                     window.setTimeout(
115 115
                         function () { window.location.replace(href); }, delay);
116
+
117
+                    // Call extra handler if defined.
118
+                    if (typeof postLoadErrorHandler === "function") {
119
+                        postLoadErrorHandler();
120
+                    }
116 121
                 };
117 122
                 window.removeEventListener(
118 123
                     'error', loadErrHandler, true /* capture phase */);

正在加载...
取消
保存