mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#1184 Sidebar scroll and search is not working in the admin panel
This commit is contained in:
parent
94af6de8c1
commit
d94da806d2
@ -27,10 +27,12 @@ function phoneMask(fields) {
|
||||
|
||||
function maskPhone(name) {
|
||||
var currentMask = $("input[name='" + name + "']").attr('placeholder');
|
||||
$("input[name='" + name + "']").mask(currentMask.replace(/[0-9+]/ig, '9'), {
|
||||
autoclear: true,
|
||||
clearIncomplete: true
|
||||
});
|
||||
if (currentMask) {
|
||||
$("input[name='" + name + "']").mask(currentMask.replace(/[0-9+]/ig, '9'), {
|
||||
autoclear: true,
|
||||
clearIncomplete: true
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user