mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
forgot to commit files
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user