mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-29 01:42:03 +00:00
Fixed: change == to === on CPTextField when assigning a delegateo
This commit is contained in:
1 parent
30413e6f8f
commit
56acbfc85c
1 file changed
+1
-1
@@ -1751,7 +1751,7 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder");
|
||||
|
||||
- (void)setDelegate:(id <CPTextFieldDelegate>)aDelegate
|
||||
{
|
||||
if (_delegate == aDelegate)
|
||||
if (_delegate === aDelegate)
|
||||
return;
|
||||
|
||||
_delegate = aDelegate;
|
||||
|
||||
Reference in new issue
Block a user