diff --git a/themes/bootstrap3/js/lightbox.js b/themes/bootstrap3/js/lightbox.js
index de4132b0d52eca96f885f9a1bf5ae761231fcb9e..1342085c7c2e94531d3720d6044e820bf9477891 100644
--- a/themes/bootstrap3/js/lightbox.js
+++ b/themes/bootstrap3/js/lightbox.js
@@ -266,8 +266,8 @@ VuFind.register('lightbox', function() {
     _lightboxTitle = submit.data('lightboxTitle') || $(form).data('lightboxTitle') || '';
     // Get Lightbox content
     ajax({
-      url: form.action || _currentUrl,
-      method: form.method || 'GET',
+      url: $(form).attr('action') || _currentUrl,
+      method: $(form).attr('method') || 'GET',
       data: data
     });