Permalink
Browse files

Textinput: slider number input should never get a clear button

  • Loading branch information...
jaspermdegroot committed Nov 20, 2012
1 parent d7f94ad commit 5419d967b565ae5f416473c6ef3496e5a6f4f540
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/forms/textinput.js
@@ -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() {

0 comments on commit 5419d96

Please sign in to comment.