Update to Bootstrap v4.3.1, jQuery 3.4.1. Adjustments to support updates.

This commit is contained in:
Nate
2019-08-20 18:15:50 -06:00
parent b9bba7edce
commit 733ba98dc6
1798 changed files with 171269 additions and 32460 deletions

View File

@@ -1708,6 +1708,12 @@ function number_pad($number,$n) {
default:
return;
}
//filter direction
switch ($direction) {
case 'down': $direction = 'keydown'; break;
case 'press': $direction = 'keypress'; break;
case 'up': $direction = 'keyup'; break;
}
//check for element exceptions
if (sizeof($exceptions) > 0) {
$exceptions = "!$(e.target).is('".implode(',', $exceptions)."') && ";
@@ -1719,7 +1725,7 @@ function number_pad($number,$n) {
if ($script_wrapper) {
echo "<script language='JavaScript' type='text/javascript'>\n";
}
echo " $(".$subject.").key".$direction."(function(e) {\n";
echo " $(".$subject.").on('".$direction."', function(e) {\n";
echo " if (".$exceptions.$key_code.") {\n";
if ($prompt != '') {
$action = ($action != '') ? $action : "alert('".$key."');";