overleaf/services/web/public/coffee/main/translations.coffee
2014-08-13 16:04:23 +01:00

10 lines
310 B
CoffeeScript

define [
"base"
], (App) ->
App.controller "TranslationsPopupController", ($scope, ipCookie) ->
$scope.hidei18nNotification = ipCookie("hidei18nNotification")
$scope.dismiss = ->
ipCookie("hidei18nNotification", true, {expires:180})
$scope.hidei18nNotification = ipCookie("hidei18nNotification")