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

Commit

Permalink
Textinput: slider number input should never get a clear button
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermdegroot committed Nov 20, 2012
1 parent d7f94ad commit 5419d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/forms/textinput.js
Expand Up @@ -34,7 +34,7 @@ $.widget( "mobile.textinput", $.mobile.widget, {
focusedEl,
clearbtn,
clearBtnText = o.clearSearchButtonText || o.clearBtnText,
clearBtnBlacklist = input.is( "textarea" ),
clearBtnBlacklist = input.is( "textarea, :jqmData(type='range')" ),
inputNeedsClearBtn = !!o.clearBtn && !clearBtnBlacklist;

function toggleClear() {
Expand Down

0 comments on commit 5419d96

Please sign in to comment.