From 5655e25c1adbc0bdce9ce138ed75c101a5a12d91 Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev Date: Mon, 12 Mar 2018 15:25:03 +0300 Subject: [PATCH] Prevent elements with the same id In AJAX mode, the browser will always return same-id error. --- filemin/unauthenticated/js/legacy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filemin/unauthenticated/js/legacy.js b/filemin/unauthenticated/js/legacy.js index 6e2ccaf0c..b2431bae5 100644 --- a/filemin/unauthenticated/js/legacy.js +++ b/filemin/unauthenticated/js/legacy.js @@ -16,7 +16,7 @@ $( document ).ready(function() { $('tr').removeAttr('onmouseover'); $('tr').removeAttr('onmouseout'); $('input').removeAttr('onclick'); - $('#select-unselect').change(function() { selectUnselect($(this)); }); + $('._select-unselect_').change(function() { selectUnselect($(this)); }); // BUTTONS $('.fg-button').hover(