Prevent elements with the same id

In AJAX mode, the browser will always return same-id error.
This commit is contained in:
Ilia Rostovtsev
2018-03-12 15:25:03 +03:00
committed by GitHub
parent 2f7b7b9f6c
commit 5655e25c1a

View File

@@ -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(