mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
forgot to commit files
This commit is contained in:
parent
9b2ce4860a
commit
d033238efc
3 changed files with 6 additions and 6 deletions
|
@ -10,7 +10,7 @@ define [
|
|||
"ng-context-menu"
|
||||
"underscore"
|
||||
"ngSanitize"
|
||||
"ngCookies"
|
||||
"ipCookie"
|
||||
])
|
||||
|
||||
return App
|
|
@ -8,5 +8,5 @@ define [
|
|||
"libs/jquery.storage"
|
||||
"libs/fineuploader"
|
||||
"libs/angular-sanitize-1.2.17"
|
||||
"libs/angular-cookies-1.2.22"
|
||||
"libs/angular-cookie"
|
||||
], () ->
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
define [
|
||||
"base"
|
||||
], (App) ->
|
||||
App.controller "TranslationsPopupController", ($scope, $cookies) ->
|
||||
App.controller "TranslationsPopupController", ($scope, ipCookie) ->
|
||||
|
||||
$scope.hidei18nNotification = $cookies.hidei18nNotification
|
||||
$scope.hidei18nNotification = ipCookie("hidei18nNotification")
|
||||
|
||||
$scope.dismiss = ->
|
||||
$cookies.hidei18nNotification = true
|
||||
$scope.hidei18nNotification = $cookies.hidei18nNotification
|
||||
ipCookie("hidei18nNotification", true, {expires:180})
|
||||
$scope.hidei18nNotification = ipCookie("hidei18nNotification")
|
||||
|
|
Loading…
Reference in a new issue