From 6bfcbeb8aaf94e7fd6bb1803c0d33b5d183e7ed0 Mon Sep 17 00:00:00 2001 From: Tom Price Date: Sun, 31 May 2015 16:31:38 +0100 Subject: [PATCH] Fix for #140 --- templates/base.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/base.html b/templates/base.html index 9d4f839c..184346ef 100644 --- a/templates/base.html +++ b/templates/base.html @@ -176,6 +176,8 @@ // Anti modal inception if($link.parents('#modal').length == 0) { e.preventDefault(); + modaltarget = $link.data('target'); + modalobject = ""; jQuery('#modal').load($link.attr('href'), function (e) { jQuery('#modal').modal(); });