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:
@@ -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
Reference in New Issue
Block a user