Skip to content

Commit

Permalink
In attempt to mimic existing code, inadvertantly mimicked too much. R…
Browse files Browse the repository at this point in the history
…emoving unnecessary lines.
  • Loading branch information
lethain committed Sep 7, 2008
1 parent b1c99a5 commit c5415ea
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions AppKit/CPTextField.j
Expand Up @@ -8,7 +8,7 @@
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
c * version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
Expand Down Expand Up @@ -375,14 +375,6 @@ var _CPTextFieldSquareBezelColor = nil;
-(void)setPlaceholderString:(CPString)aStringValue
{
_placeholderString = aStringValue;
#if PLATFORM(DOM)
var cssString = _value ? [_value cssString] : @"";

if (CPFeatureIsCompatible(CPJavascriptInnerTextFeature))
_DOMTextElement.innerText = cssString;
else if (CPFeatureIsCompatible(CPJavascriptTextContentFeature))
_DOMTextElement.textContent = cssString;
#endif
}

- (void)sizeToFit
Expand Down

0 comments on commit c5415ea

Please sign in to comment.