summaryrefslogtreecommitdiff
path: root/p/scripts/global_view.js
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-05 17:29:09 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-05 17:32:01 +0200
commitd8ed718aab99ad47897fb70ea9086fa704bb912b (patch)
treeb628ba2fdbb4d5b32659f45020ccb44f9fd97e1b /p/scripts/global_view.js
parent70131f776a5fa30fdf26c64578039aeeb41333c7 (diff)
Refactor javascript_vars.phtml
Introduce kind of context objectin JavaScript See https://github.com/marienfressinaud/FreshRSS/issues/634 See https://github.com/marienfressinaud/FreshRSS/issues/655
Diffstat (limited to 'p/scripts/global_view.js')
-rw-r--r--p/scripts/global_view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/scripts/global_view.js b/p/scripts/global_view.js
index 7105520a6..6e1f61066 100644
--- a/p/scripts/global_view.js
+++ b/p/scripts/global_view.js
@@ -40,7 +40,7 @@ function load_panel(link) {
function init_close_panel() {
$("#panel .close").click(function () {
- $("#panel").html('<a class="close" href="#">' + window.iconClose + '</a>');
+ $("#panel").html('<a class="close" href="#">' + icons['close'] + '</a>');
init_close_panel();
$("#panel").slideToggle();
$("#overlay").fadeOut();