瀏覽代碼

fix(WaitForOwnerDialog): undefined method and reg expr

master
paweldomas 8 年之前
父節點
當前提交
b5212bb6cd
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      react/features/authentication/components/WaitForOwnerDialog.native.js

+ 2
- 2
react/features/authentication/components/WaitForOwnerDialog.native.js 查看文件

@@ -72,7 +72,7 @@ class WaitForOwnerDialog extends Component {
72 72
                 titleKey = 'dialog.WaitingForHost'>
73 73
                 <Text style = { styles.waitForOwnerDialog }>
74 74
                     {
75
-                        this.renderHTML(t('dialog.WaitForHostMsg', { room }))
75
+                        this._renderHTML(t('dialog.WaitForHostMsg', { room }))
76 76
                     }
77 77
                 </Text>
78 78
             </Dialog>
@@ -110,7 +110,7 @@ class WaitForOwnerDialog extends Component {
110 110
         if (typeof html === 'string') {
111 111
             // TODO Limited styling may easily be provided by utilizing Text
112 112
             // with style.
113
-            return html.replace(/<\\?b>/gi, '');
113
+            return html.replace(/<\/?b>/gi, '');
114 114
         }
115 115
 
116 116
         return html;

Loading…
取消
儲存