mirror of
https://github.com/pi-hole/web.git
synced 2026-04-29 13:15:15 +01:00
Cleaned code
This commit is contained in:
@@ -464,7 +464,6 @@
|
||||
|
||||
while (--position > 0 && !isMask(position)) {
|
||||
}
|
||||
;
|
||||
return position;
|
||||
}
|
||||
|
||||
@@ -854,9 +853,6 @@
|
||||
return end - (lengthBefore - buffer.length); //return new start position
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
|
||||
function HandleRemove(input, k, pos) {
|
||||
if (opts.numericInput || isRTL) {
|
||||
switch (k) {
|
||||
@@ -1419,8 +1415,7 @@
|
||||
return getActiveBuffer().join('');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
$.inputmask = {
|
||||
//options default
|
||||
defaults: {
|
||||
|
||||
@@ -89,8 +89,7 @@ Allows for using regular expressions as a mask
|
||||
|
||||
if (currentToken.matches.length > 0)
|
||||
opts.regexTokens.push(currentToken);
|
||||
};
|
||||
|
||||
}
|
||||
function validateRegexToken(token, fromGroup) {
|
||||
var isvalid = false;
|
||||
if (fromGroup) {
|
||||
|
||||
Reference in New Issue
Block a user