2020-06-01 20:08:07 -04:00
|
|
|
import PersistentUserCallout from './persistent_user_callout';
|
|
|
|
|
|
|
|
const PERSISTENT_USER_CALLOUTS = [
|
|
|
|
'.js-recovery-settings-callout',
|
|
|
|
'.js-users-over-license-callout',
|
|
|
|
'.js-admin-licensed-user-count-threshold',
|
2020-06-26 08:08:51 -04:00
|
|
|
'.js-buy-pipeline-minutes-notification-callout',
|
2020-07-06 23:09:32 -04:00
|
|
|
'.js-token-expiry-callout',
|
2020-06-01 20:08:07 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
const initCallouts = () => {
|
|
|
|
PERSISTENT_USER_CALLOUTS.forEach(calloutContainer =>
|
|
|
|
PersistentUserCallout.factory(document.querySelector(calloutContainer)),
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default initCallouts;
|