Does not reload the page after Chrome desktop sharing extension is installed.
This commit is contained in:
parent
3f9b220ee9
commit
a6c8d0787a
|
@ -19,7 +19,7 @@
|
|||
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
|
||||
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
|
||||
<script src="interface_config.js?v=5"></script>
|
||||
<script src="libs/app.bundle.js?v=85"></script>
|
||||
<script src="libs/app.bundle.js?v=86"></script>
|
||||
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
|
||||
<link rel="stylesheet" href="css/font.css?v=7"/>
|
||||
<link rel="stylesheet" href="css/toastr.css?v=1">
|
||||
|
|
|
@ -9993,9 +9993,11 @@ function obtainScreenFromExtension(streamCallback, failCallback) {
|
|||
getWebStoreInstallUrl(),
|
||||
function (arg) {
|
||||
console.log("Extension installed successfully", arg);
|
||||
// We need to reload the page in order to get the access to
|
||||
// chrome.runtime
|
||||
window.location.reload(false);
|
||||
extInstalled = true;
|
||||
// We need to give a moment for the endpoint to become available
|
||||
window.setTimeout(function () {
|
||||
doGetStreamFromExtension(streamCallback, failCallback);
|
||||
}, 500);
|
||||
},
|
||||
function (arg) {
|
||||
console.log("Failed to install the extension", arg);
|
||||
|
|
|
@ -188,9 +188,11 @@ function obtainScreenFromExtension(streamCallback, failCallback) {
|
|||
getWebStoreInstallUrl(),
|
||||
function (arg) {
|
||||
console.log("Extension installed successfully", arg);
|
||||
// We need to reload the page in order to get the access to
|
||||
// chrome.runtime
|
||||
window.location.reload(false);
|
||||
extInstalled = true;
|
||||
// We need to give a moment for the endpoint to become available
|
||||
window.setTimeout(function () {
|
||||
doGetStreamFromExtension(streamCallback, failCallback);
|
||||
}, 500);
|
||||
},
|
||||
function (arg) {
|
||||
console.log("Failed to install the extension", arg);
|
||||
|
|
Loading…
Reference in New Issue