소스 검색

Creates link element in the head the screen sharing from the JS code

dev1
hristoterezov 10 년 전
부모
커밋
7b0343a017
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      modules/RTC/ScreenObtainer.js

+ 3
- 0
modules/RTC/ScreenObtainer.js 파일 보기

@@ -356,6 +356,9 @@ function doGetStreamFromExtension(options, streamCallback, failCallback) {
356 356
  */
357 357
 function initInlineInstalls(options)
358 358
 {
359
+    if($("link[rel=chrome-webstore-item]").length === 0) {
360
+        $("head").append("<link rel=\"chrome-webstore-item\">");
361
+    }
359 362
     $("link[rel=chrome-webstore-item]").attr("href",
360 363
         getWebStoreInstallUrl(options));
361 364
 }

Loading…
취소
저장