diff --git a/template.html b/template.html
index 503824b..1fefdb2 100644
--- a/template.html
+++ b/template.html
@@ -69,7 +69,7 @@
Can you assign this coin to an RIC number?
-
+
@@ -300,7 +300,6 @@ Roman Imperial Coinage concordance
$("#total").text(data.total);
$("#done").text(data.done);
$('a[rel]').tooltip({'placement': 'left'});
- $('#pasImageLink').ekkoLightbox(options);
});
}
pybossa.taskLoaded(function(task, deferred) {
@@ -312,6 +311,12 @@ Roman Imperial Coinage concordance
deferred.resolve(task);
}
});
+
+ $(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) {
+ event.preventDefault();
+ $(this).ekkoLightbox();
+ });
+
$(window).resize(function(){
console.log('Window resized');
});