Important fix for chrome app. Fix updating alternative amount

This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-21 17:00:32 -03:00
parent bfc1c61753
commit 68173e632e
4 changed files with 5 additions and 10 deletions

View File

@ -78,8 +78,6 @@ module.exports = function(grunt) {
},
angular: {
src: [
'bower_components/fastclick/lib/fastclick.js',
'bower_components/modernizr/modernizr.js',
'bower_components/qrcode-generator/js/qrcode.js',
'bower_components/qrcode-decoder-js/lib/qrcode-decoder.js',
'bower_components/moment/min/moment-with-locales.js',

View File

@ -17,10 +17,11 @@
<div class="size-36 animated pulse">
<strong>{{index.totalBalanceStr}}</strong>
</div>
<div class="size-14"
ng-class="{'animated fadeIn':!index.hideBalance && index.alternativeBalanceAvailable}"
ng-show="index.alternativeBalanceAvailable">
{{index.totalBalanceAlternative}} {{index.alternativeIsoCode}}
<div class="size-14"
ng-if="index.totalBalanceAlternative">
<span ng-class="{'animated fadeIn':!index.hideBalance}">
{{index.totalBalanceAlternative}} {{index.alternativeIsoCode}}
</span>
</div>
</div>
</div>

View File

@ -7,8 +7,6 @@ if (window && window.navigator) {
var isaosp = (rxaosp && rxaosp[1] < 537);
if (!window.cordova && isaosp)
unsupported = true;
if (!Modernizr.localstorage)
unsupported = true;
if (unsupported) {
window.location = '#/unsupported';
}

View File

@ -15,8 +15,6 @@ module.exports = function(config) {
// list of files / patterns to load in the browser
files: [
'bower_components/fastclick/lib/fastclick.js',
'bower_components/modernizr/modernizr.js',
'bower_components/qrcode-generator/js/qrcode.js',
'bower_components/qrcode-decoder-js/lib/qrcode-decoder.js',
'bower_components/moment/min/moment-with-locales.js',