From 4a7346cf762de22ab5bffefb3a194550430aa0d1 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 5 Mar 2018 19:43:27 +0100 Subject: UI: fix navigation between cards --- ishtar_common/templates/ishtar/sheet.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common') 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 %} -- cgit v1.2.3