diff options
author | Trent Richardson <trentdrichardson@gmail.com> | 2013-03-26 13:40:29 -0400 |
---|---|---|
committer | Trent Richardson <trentdrichardson@gmail.com> | 2013-03-26 13:40:29 -0400 |
commit | 8303530465134e9727a0054ce8cce41a98f5032c (patch) | |
tree | 1fc4daad0698c1f276d4cf5e506fc16f982a29bd /jquery-ui-timepicker-addon.js | |
parent | c3d556a6c3c60caff390b04625f1c4cce426f256 (diff) | |
download | jQuery-Timepicker-Addon-8303530465134e9727a0054ce8cce41a98f5032c.zip jQuery-Timepicker-Addon-8303530465134e9727a0054ce8cce41a98f5032c.tar.gz jQuery-Timepicker-Addon-8303530465134e9727a0054ce8cce41a98f5032c.tar.bz2 |
Applies pull #566 to remove unused vars
Diffstat (limited to 'jquery-ui-timepicker-addon.js')
-rw-r--r-- | jquery-ui-timepicker-addon.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js index 5567adb..246c71e 100644 --- a/jquery-ui-timepicker-addon.js +++ b/jquery-ui-timepicker-addon.js @@ -913,9 +913,7 @@ // select methods select: { create: function(tp_inst, obj, unit, val, min, max, step){ - var sel = '<select class="ui-timepicker-select" data-unit="'+ unit +'" data-min="'+ min +'" data-max="'+ max +'" data-step="'+ step +'">', - ul = tp_inst._defaults.timeFormat.indexOf('t') !== -1? 'toLowerCase':'toUpperCase', - m = 0; + var sel = '<select class="ui-timepicker-select" data-unit="'+ unit +'" data-min="'+ min +'" data-max="'+ max +'" data-step="'+ step +'">'; for(var i=min; i<=max; i+=step){ sel += '<option value="'+ i +'"'+ (i==val? ' selected':'') +'>'; |