This commit is contained in:
Ad Schellevis 2015-11-30 08:17:43 +00:00
parent 7413cd78fc
commit 2daf0e206e

View File

@ -41,7 +41,7 @@ function hook_ipv4v6(classname, data_id, callback) {
$("#"+$(this).data(data_id)).change(function(){
var itemValue = $(this).val();
$("#"+selectlist_id+" > option").each(function() {
if (parseInt($(this).val()) > 24 && itemValue.indexOf(":") == -1 ) {
if (parseInt($(this).val()) > 32 && itemValue.indexOf(":") == -1 ) {
$(this).addClass('hidden');
} else {
$(this).removeClass('hidden');