diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-05 19:43:27 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-05 19:43:27 +0100 |
commit | e72b06151c66fff885dc6af86fcc574cdd15e5b8 (patch) | |
tree | 4a026d297ee712dd37ed3b7f2357c0e381aa58d2 | |
parent | 04fd87f2e2c1d5377730c03c87d457dcf961923e (diff) | |
download | Ishtar-e72b06151c66fff885dc6af86fcc574cdd15e5b8.tar.bz2 Ishtar-e72b06151c66fff885dc6af86fcc574cdd15e5b8.zip |
UI: fix navigation between cards
-rw-r--r-- | ishtar_common/templates/ishtar/sheet.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/templates/ishtar/sheet.html b/ishtar_common/templates/ishtar/sheet.html index 15737d1d7..c5511b859 100644 --- a/ishtar_common/templates/ishtar/sheet.html +++ b/ishtar_common/templates/ishtar/sheet.html @@ -73,12 +73,12 @@ } jQuery(".next_page").click(function() { load_window("{{current_window_url}}" + get_next_table_id({{item.pk}}) + "/", - '', function(){$("#{{window_id}}").remove();}, + '', function(){hide_window("{{window_id}}");}, true); }); jQuery(".previous_page").click(function() { load_window("{{current_window_url}}" + get_previous_table_id({{item.pk}}) + "/", - '', function(){$("#{{window_id}}").remove();}, + '', function(){hide_window("{{window_id}}");}, true); }); {% if item.image %} |