|
|
@@ -10,6 +10,8 @@ $(function() {
|
|
|
function handleSelectButton() {
|
|
|
|
|
|
$(this).text("Deselect");
|
|
|
+ $(this).removeClass("btn-outline-success");
|
|
|
+ $(this).addClass("btn-outline-danger");
|
|
|
let lgi = $(this).closest(".list-group-item").detach();
|
|
|
$("#selected-locations-list-group").append(lgi);
|
|
|
let lgis = $("#selected-locations-list-group .list-group-item");
|
|
|
@@ -27,6 +29,8 @@ function handleSelectButton() {
|
|
|
|
|
|
function handleDeselectButton() {
|
|
|
$(this).text("Select");
|
|
|
+ $(this).removeClass("btn-outline-danger");
|
|
|
+ $(this).addClass("btn-outline-success");
|
|
|
let lgi = $(this).closest(".list-group-item").detach();
|
|
|
$("#not-selected-locations-list-group").append(lgi);
|
|
|
let lgis = $("#not-selected-locations-list-group .list-group-item");
|