1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 02:04:35 +02:00

Various minor updates and optimizations to several core classes

This commit is contained in:
Ryan Cramer
2019-10-09 11:52:36 -04:00
parent 0a01b472a1
commit 6b20f429a9
8 changed files with 79 additions and 21 deletions

View File

@@ -848,7 +848,11 @@ function InputfieldColumnWidths($target) {
}
colspacing = $form.attr('data-colspacing');
if(typeof colspacing == 'undefined') colspacing = 1;
if(typeof colspacing == 'undefined') {
colspacing = 1;
} else {
colspacing = parseInt(colspacing);
}
// if no borders, we don't worry about keeping heights aligned since they won't be seen
useHeights = $form.hasClass('InputfieldFormNoHeights') ? false : true;

File diff suppressed because one or more lines are too long