mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed error with variables
This commit is contained in:
@@ -25,9 +25,9 @@ $(document).ready(function (){
|
|||||||
+ git_info[0].commit.message+"<br");
|
+ git_info[0].commit.message+"<br");
|
||||||
|
|
||||||
var chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
|
var chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
|
||||||
var isInstalled = chrome.app.isInstalled;
|
var installed = chrome.app.isInstalled;
|
||||||
|
|
||||||
if (chrome && !isInstalled)
|
if (chrome && !installed)
|
||||||
Materialize.toast("<a href='#' onclick='installRemote();' style='pointer-events:all;color:white;'>Install the extension!</a>", 100000);
|
Materialize.toast("<a href='#' onclick='installRemote();' style='pointer-events:all;color:white;'>Install the extension!</a>", 100000);
|
||||||
|
|
||||||
window.installRemote = installRemote;
|
window.installRemote = installRemote;
|
||||||
|
|||||||
Reference in New Issue
Block a user