1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-04 15:12:23 -05:00

Fix Black and White lists in edit show.

This commit is contained in:
Alexandre Beloin 2015-01-14 21:32:09 -05:00
parent 0bb84466d0
commit 7796f06b94

View File

@ -265,22 +265,22 @@ Separate words with a comma, e.g. "word1,word2,word3"<br />
});
\$('#addToWhite').click(function() {
var group = \$('#addToPoolText').attr("value")
var group = \$('#addToPoolText').val()
if(group == "")
return
\$('#addToPoolText').attr("value", "")
\$('#addToPoolText').val("")
var option = \$("<option>")
option.attr("value",group)
option.prop("value",group)
option.html(group)
return option.appendTo('#white');
});
\$('#addToBlack').click(function() {
var group = \$('#addToPoolText').attr("value")
var group = \$('#addToPoolText').val()
if(group == "")
return
\$('#addToPoolText').attr("value", "")
\$('#addToPoolText').val("")
var option = \$("<option>")
option.attr("value",group)
option.prop("value",group)
option.html(group)
return option.appendTo('#black');
});