From f7b3263ab3d8a655a2511bb142d3f69efbfe2589 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 17 Oct 2018 12:40:04 -0600 Subject: [PATCH] Update bookmarkform.js --- resources/assets/js/components/bookmarkform.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/assets/js/components/bookmarkform.js b/resources/assets/js/components/bookmarkform.js index dd67747ae..14d096adb 100644 --- a/resources/assets/js/components/bookmarkform.js +++ b/resources/assets/js/components/bookmarkform.js @@ -1,6 +1,5 @@ $(document).ready(function() { - - $('.bookmark-form').submit(function(e) { + $(document).on('submit', '.bookmark-form', function(e) { e.preventDefault(); var el = $(this); var id = el.data('id');