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

Commit 6ec5491

Browse files
Textinput: removed option clearSearchButtonText (deprecated in 1.3).
1 parent 83c746e commit 6ec5491

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

js/widgets/forms/textinput.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ $.widget( "mobile.textinput", $.mobile.widget, {
1616
// This option defaults to true on iOS devices.
1717
preventFocusZoom: /iPhone|iPad|iPod/.test( navigator.platform ) && navigator.userAgent.indexOf( "AppleWebKit" ) > -1,
1818
clearBtn: false,
19-
clearSearchButtonText: null, //deprecating for 1.3...
2019
clearBtnText: "clear text",
2120
disabled: false
2221
},
@@ -32,7 +31,7 @@ $.widget( "mobile.textinput", $.mobile.widget, {
3231
isSearch = input.is( "[type='search'], :jqmData(type='search')" ),
3332
focusedEl,
3433
clearbtn,
35-
clearBtnText = o.clearSearchButtonText || o.clearBtnText,
34+
clearBtnText = o.clearBtnText,
3635
clearBtnBlacklist = input.is( "textarea, :jqmData(type='range')" ),
3736
inputNeedsClearBtn = !!o.clearBtn && !clearBtnBlacklist,
3837
inputNeedsWrap = input.is( "input" ) && !input.is( ":jqmData(type='range')" ),

0 commit comments

Comments
 (0)