2020-06-23 00:09:42 +05:30
|
|
|
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-07-28 23:09:34 +05:30
|
|
|
'.js-buy-pipeline-minutes-notification-callout',
|
|
|
|
'.js-token-expiry-callout',
|
2020-06-23 00:09:42 +05:30
|
|
|
];
|
|
|
|
|
|
|
|
const initCallouts = () => {
|
|
|
|
PERSISTENT_USER_CALLOUTS.forEach(calloutContainer =>
|
|
|
|
PersistentUserCallout.factory(document.querySelector(calloutContainer)),
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default initCallouts;
|