From f3b0dbaa669159ec880848f7b70220791a1427fa Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 9 Oct 2012 08:40:44 +0200 Subject: - users own room --- templates/base.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates/base.html') diff --git a/templates/base.html b/templates/base.html index ba3b06d..90d516e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -43,6 +43,12 @@ $(function() { prettyPrint(); $(".submitter").submitter() + $(".cancel").each(function(that) { + that.click(function(ev) { + ev.preventDefault(); + document.location = document.referrer; + }) + }); {% block widgets %}{% endblock %} }); -- cgit v1.1