This commit is contained in:
Greg Weber 2010-12-11 00:50:26 -08:00 committed by Michael Snoyman
parent 59486dcc77
commit e6a3936577

View File

@ -216,7 +216,8 @@ searchFieldProfile autoFocus = FieldProfile
when autoFocus $ do
addHtml $ [HAMLET| <script>if (!('autofocus' in document.createElement('input'))) {document.getElementById('$theId$').focus();}</script> |]
addCassius [CASSIUS|
#$theId$ -webkit-appearance: textfield;
#$theId$
-webkit-appearance: textfield
|]
}