mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
migrate: flags.ads -> purchased.ads (boolean); flags.newStuff to boolean
This commit is contained in:
@@ -14,7 +14,7 @@ habitrpg.controller("FooterCtrl", ['$scope', '$rootScope', 'User', '$http',
|
||||
$.getScript('//checkout.stripe.com/v2/checkout.js');
|
||||
|
||||
// Amazon Affiliate
|
||||
// if ($rootScope.authenticated() && User.user.flags.ads !== 'hide') {
|
||||
// if ($rootScope.authenticated() && !User.user.purchased.ads) {
|
||||
// $.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="" />');
|
||||
// });
|
||||
|
||||
Reference in New Issue
Block a user