only on homepage hide Starter Pack promo until we have a hide/show feature (bug 817085)

This commit is contained in:
Chris Van 2012-12-06 14:06:18 -08:00
Родитель c291cd17a7
Коммит 44a4409c10
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -41,7 +41,7 @@ function hideHomePromo($context) {
var KEY = 'amo_home_promo_seen',
MAX_SEEN = 5,
visitor = z.Storage('visitor'),
times_seen = parseInt(visitor.get(KEY) || 0, 10);
times_seen = 5; //parseInt(visitor.get(KEY) || 0, 10);
if (times_seen >= MAX_SEEN) {
// If the intro has been seen enough times, skip it.
$('#starter', $context).closest('.panel').remove();