mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 09:31:47 +00: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"
|
"ng-context-menu"
|
||||||
"underscore"
|
"underscore"
|
||||||
"ngSanitize"
|
"ngSanitize"
|
||||||
"ngCookies"
|
"ipCookie"
|
||||||
])
|
])
|
||||||
|
|
||||||
return App
|
return App
|
|
@ -8,5 +8,5 @@ define [
|
||||||
"libs/jquery.storage"
|
"libs/jquery.storage"
|
||||||
"libs/fineuploader"
|
"libs/fineuploader"
|
||||||
"libs/angular-sanitize-1.2.17"
|
"libs/angular-sanitize-1.2.17"
|
||||||
"libs/angular-cookies-1.2.22"
|
"libs/angular-cookie"
|
||||||
], () ->
|
], () ->
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
define [
|
define [
|
||||||
"base"
|
"base"
|
||||||
], (App) ->
|
], (App) ->
|
||||||
App.controller "TranslationsPopupController", ($scope, $cookies) ->
|
App.controller "TranslationsPopupController", ($scope, ipCookie) ->
|
||||||
|
|
||||||
$scope.hidei18nNotification = $cookies.hidei18nNotification
|
$scope.hidei18nNotification = ipCookie("hidei18nNotification")
|
||||||
|
|
||||||
$scope.dismiss = ->
|
$scope.dismiss = ->
|
||||||
$cookies.hidei18nNotification = true
|
ipCookie("hidei18nNotification", true, {expires:180})
|
||||||
$scope.hidei18nNotification = $cookies.hidei18nNotification
|
$scope.hidei18nNotification = ipCookie("hidei18nNotification")
|
||||||
|
|
Loading…
Reference in a new issue