This commit is contained in:
Devin Smith 2015-02-26 11:51:54 -08:00
parent 5a553d379d
commit f5f9971782
2 changed files with 4 additions and 2 deletions

View File

@ -99,7 +99,7 @@
<a href="{{(isPhoneGap && 'fb://profile/372531956099058' || !isPhoneGap && 'http://facebook.com/crunchbutton')}}" target="_blank" class="facebook-like-link">
<a href="{{(hasFacebook && 'fb://profile/372531956099058' || !hasFacebook && 'http://facebook.com/crunchbutton')}}" target="_system" class="facebook-like-link">
<button class="facebook-like">
<i class="fa fa-facebook-square"></i> Like
</button>

View File

@ -53,7 +53,8 @@ var App = {
cachedObjectsExpiresIn : 86400, // 86400 seconds is 24 hours
enableSplash: true,
useTransform: true,
minimalMode: false
minimalMode: false,
hasFacebook: false
};
App.useTransform = true;
@ -322,6 +323,7 @@ NGApp.controller('AppController', function ($scope, $route, $http, $routeParams,
App.rootScope = $rootScope;
App.location = $location;
App.http = $http;
$rootScope.hasFacebook = App.hasFacebook;
// hack to fix the phonegap bug at android with soft keyboard #2908