overleaf/services/web/public/coffee/main/translations.coffee

11 lines
310 B
CoffeeScript
Raw Normal View History

define [
"base"
], (App) ->
2014-08-13 11:04:23 -04:00
App.controller "TranslationsPopupController", ($scope, ipCookie) ->
2014-08-13 11:04:23 -04:00
$scope.hidei18nNotification = ipCookie("hidei18nNotification")
$scope.dismiss = ->
2014-08-13 11:04:23 -04:00
ipCookie("hidei18nNotification", true, {expires:180})
$scope.hidei18nNotification = ipCookie("hidei18nNotification")