overleaf/services/web/frontend/js/features/editor-left-menu/controllers/left-menu-documentation-controller.js
M Fahru 47937c4073 Fix event "left-menu-documentation-click" not being fired properly (#11836)
GitOrigin-RevId: 5e9df12c699ff5c25389e8fb90fda73913e8c747
2023-02-16 09:05:00 +00:00

10 lines
262 B
JavaScript

import App from '../../../base'
export default App.controller(
'LeftMenuDocumentationController',
function ($scope, eventTracking) {
$scope.sendLeftMenuDocumentationEvent = () => {
eventTracking.sendMB('left-menu-documentation-click')
}
}
)