下拉框相关脚本放到各自自己的脚本中

This commit is contained in:
Argo-Lenovo 2016-11-08 11:17:36 +08:00
parent 6e1a306ac6
commit f45d600b34
2 changed files with 3 additions and 2 deletions

View File

@ -168,8 +168,6 @@ $(function () {
return this.optional(element) || /^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])$/.test(value);
}, "请填写正确的IP地址");
}
// select
$('select').selectpicker();
// tool tips
$('.tooltips').tooltip();

View File

@ -160,4 +160,7 @@
});
$('#nestable_menu').nestable();
// select
$('select').selectpicker();
});