Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #467 from ethereum/improve-mist-alert
Browse files Browse the repository at this point in the history
Fix mist/wallet detection
  • Loading branch information
evertonfraga authored Mar 7, 2018
2 parents 9b239e0 + 0a31f1f commit d084d95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/client/lib/helpers/templateHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Check if in mist
@method (isMist)
**/
Template.registerHelper('isMist', function(){
return window.mistMode === 'mist';
return (typeof window.mistMode === 'undefined');
});

/**
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<link rel="stylesheet" type="text/css" class="__meteor-css__" href="4f7bdea50360c3ca9b21c279125ad19fdad44d51.css?meteor_css_resource=true">
<script type="text/javascript">__meteor_runtime_config__ = JSON.parse(decodeURIComponent("%7B%22meteorRelease%22%3A%22METEOR%401.3.2.4%22%2C%22ROOT_URL_PATH_PREFIX%22%3A%22%22%2C%22meteorEnv%22%3A%7B%22NODE_ENV%22%3A%22production%22%7D%2C%22ROOT_URL%22%3A%22%22%7D"));</script>
<script type="text/javascript" src="37af1f9b831e6c9025fee32f8568eaf7f34b05dd.js"></script>
<script type="text/javascript" src="b50e0e14de1913823d2ae9985aa5a0e6ff550a50.js"></script>
<script type="text/javascript">Meteor.disconnect();</script>
<meta charset="utf-8">
<title>Ethereum Wallet</title>
Expand Down

0 comments on commit d084d95

Please sign in to comment.