diff options
Diffstat (limited to 'p/scripts/global_view.js')
| -rw-r--r-- | p/scripts/global_view.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/p/scripts/global_view.js b/p/scripts/global_view.js index 9ee9397cd..ebd65765c 100644 --- a/p/scripts/global_view.js +++ b/p/scripts/global_view.js @@ -84,8 +84,7 @@ function init_close_panel() { } function init_global_view() { - // TODO: should be based on generic classes - document.querySelectorAll('.box a').forEach(function (a) { + document.querySelectorAll('.open-panel').forEach(function (a) { a.onclick = function (ev) { load_panel(a.href); return false; |
