mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
remove unecessary amazon stuff
This commit is contained in:
parent
4862968925
commit
34d5e364fa
1 changed files with 5 additions and 5 deletions
|
|
@ -14,11 +14,11 @@ habitrpg.controller("FooterCtrl", ['$scope', '$rootScope', 'User', '$http',
|
|||
$.getScript('//checkout.stripe.com/v2/checkout.js');
|
||||
|
||||
// Amazon Affiliate
|
||||
if ($rootScope.authenticated() && User.user.flags.ads !== 'hide') {
|
||||
$.getScript('//wms.assoc-amazon.com/20070822/US/js/link-enhancer-common.js?tag=ha0d2-20').fail(function() {
|
||||
$('body').append('<img src="//wms.assoc-amazon.com/20070822/US/img/noscript.gif?tag=ha0d2-20" alt="" />');
|
||||
});
|
||||
}
|
||||
// if ($rootScope.authenticated() && User.user.flags.ads !== 'hide') {
|
||||
// $.getScript('//wms.assoc-amazon.com/20070822/US/js/link-enhancer-common.js?tag=ha0d2-20').fail(function() {
|
||||
// $('body').append('<img src="//wms.assoc-amazon.com/20070822/US/img/noscript.gif?tag=ha0d2-20" alt="" />');
|
||||
// });
|
||||
// }
|
||||
|
||||
// Google Analytics, only in production
|
||||
if (window.env.NODE_ENV === 'production') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue