summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
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
commit4a7346cf762de22ab5bffefb3a194550430aa0d1 (patch)
tree4a026d297ee712dd37ed3b7f2357c0e381aa58d2 /ishtar_common
parentc9ef9dff7d856bcced846232eb6178b069c8c488 (diff)
downloadIshtar-4a7346cf762de22ab5bffefb3a194550430aa0d1.tar.bz2
Ishtar-4a7346cf762de22ab5bffefb3a194550430aa0d1.zip
UI: fix navigation between cards
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/templates/ishtar/sheet.html4
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 %}