Keep the cookie name as before
This is to avoid prompting the same dialog for people who already dismissed the dialog.
This commit is contained in:
parent
ff1e2dd478
commit
9402def747
|
@ -2,7 +2,7 @@
|
||||||
//= require_tree .
|
//= require_tree .
|
||||||
|
|
||||||
$(() => {
|
$(() => {
|
||||||
const OVERVIEW_DIALOG_COOKIE = 'ca_overview_dialog_dismissed';
|
const OVERVIEW_DIALOG_COOKIE = 'cycle_analytics_help_dismissed';
|
||||||
const cycleAnalyticsEl = document.querySelector('#cycle-analytics');
|
const cycleAnalyticsEl = document.querySelector('#cycle-analytics');
|
||||||
const cycleAnalyticsStore = gl.cycleAnalytics.CycleAnalyticsStore;
|
const cycleAnalyticsStore = gl.cycleAnalytics.CycleAnalyticsStore;
|
||||||
const cycleAnalyticsService = new gl.cycleAnalytics.CycleAnalyticsService({
|
const cycleAnalyticsService = new gl.cycleAnalytics.CycleAnalyticsService({
|
||||||
|
|
Loading…
Reference in New Issue