diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-04-14 22:23:18 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-04-14 22:23:18 +0200 |
| commit | 4931a78b1606359391066506cc3935f0f3e759e9 (patch) | |
| tree | 56fcd2c00cc357069b25b21bfa6e909de82e8c36 /cli | |
| parent | 6b434e1996fdcc7b14819c32f7808475fa726339 (diff) | |
toggle popup
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/app/site/export.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/app/site/export.py b/cli/app/site/export.py index 89db305..354c0a5 100644 --- a/cli/app/site/export.py +++ b/cli/app/site/export.py @@ -99,6 +99,8 @@ def sanitize_graph(graph): tile['href'] = '__open_popup' elif tile['target_page_id'] == -3: tile['href'] = '__close_popup' + elif tile['target_page_id'] == -4: + tile['href'] = '__toggle_popup' elif tile['target_page_id'] > 0: tile['href'] = page_path_lookup[tile['target_page_id']] if 'url' in tile['settings'] and tile['settings']['url'].startswith('/static'): |
