mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox
synced 2024-11-15 03:04:52 +00:00
Add a space between input field and button. Looks smarter :)
This commit is contained in:
parent
226f5c0acf
commit
2ad7747074
|
@ -470,13 +470,13 @@ class InputBox {
|
|||
$this->$var = $values[$name];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Insert a line break if configured to do so
|
||||
$this->mBR = ( strtolower( $this->mBR ) == "no" ) ? '' : '<br />';
|
||||
$this->mBR = ( strtolower( $this->mBR ) == "no" ) ? ' ' : '<br />';
|
||||
|
||||
// Validate the width; make sure it's a valid, positive integer
|
||||
$this->mWidth = intval( $this->mWidth <= 0 ? 50 : $this->mWidth );
|
||||
|
||||
|
||||
wfProfileOut( __METHOD__ );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue