Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Re-named the ui-icon-search used on search inputs to ui-icon-searchin…
Browse files Browse the repository at this point in the history
…put so I modified the script for search input to reflect this change
  • Loading branch information
toddparker committed Feb 3, 2011
1 parent 59b7d74 commit 8b728d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.mobile.forms.textinput.js
Expand Up @@ -32,7 +32,7 @@ $.widget( "mobile.textinput", $.mobile.widget, {

//"search" input widget
if( input.is('[type="search"],[data-type="search"]') ){
focusedEl = input.wrap('<div class="ui-input-search ui-shadow-inset ui-btn-corner-all ui-btn-shadow ui-icon-search'+ themeclass +'"></div>').parent();
focusedEl = input.wrap('<div class="ui-input-search ui-shadow-inset ui-btn-corner-all ui-btn-shadow ui-icon-searchfield'+ themeclass +'"></div>').parent();
var clearbtn = $('<a href="#" class="ui-input-clear" title="clear text">clear text</a>')
.tap(function( e ){
input.val('').focus();
Expand Down

0 comments on commit 8b728d8

Please sign in to comment.