fixes #4917
This commit is contained in:
parent
5a553d379d
commit
f5f9971782
@ -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>
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user