Show SubscribeModal for non-admins, too.

This commit is contained in:
Nick Winter 2014-12-03 16:28:56 -08:00
parent a8ce1bbfb2
commit 8cff42a843

View file

@ -81,7 +81,7 @@ module.exports = class WorldMapView extends RootView
$('body').append($('<img src="http://code.org/api/hour/begin_codecombat.png" style="visibility: hidden;">'))
trackedHourOfCode = true
@requiresSubscription = me.isAdmin() and @terrain isnt 'dungeon' and not me.get('stripe')?.subscriptionID
@requiresSubscription = @terrain isnt 'dungeon' and not me.get('stripe')?.subscriptionID
destroy: ->
@setupManager?.destroy()