mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-29 09:52:03 +00:00
Fixed a missing DOM protection guard.
Reviewed by me.
This commit is contained in:
1 parent
6f3a0bdc55
commit
cc32844a9c
1 file changed
+3
-1
@@ -248,11 +248,13 @@ var _CPTextFieldSquareBezelColor = nil,
|
||||
|
||||
_bezelStyle = aBezelStyle;
|
||||
|
||||
#if PLATFORM(DOM)
|
||||
if (aBezelStyle == CPTextFieldRoundedBezel)
|
||||
_DOMTextElement.style.paddingLeft = ROUNDEDBEZEL_HORIZONTAL_PADDING - 1.0 + "px";
|
||||
else
|
||||
_DOMTextElement.style.paddingLeft = "0px";
|
||||
|
||||
#endif
|
||||
|
||||
[self _updateBackground];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user