only on homepage hide Starter Pack promo until we have a hide/show feature (bug 817085)
This commit is contained in:
Родитель
c291cd17a7
Коммит
44a4409c10
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче