Skip to content

Commit 8303530

Browse files
Applies pull trentrichardson#566 to remove unused vars
1 parent c3d556a commit 8303530

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

jquery-ui-timepicker-addon.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -913,9 +913,7 @@
913913
// select methods
914914
select: {
915915
create: function(tp_inst, obj, unit, val, min, max, step){
916-
var sel = '<select class="ui-timepicker-select" data-unit="'+ unit +'" data-min="'+ min +'" data-max="'+ max +'" data-step="'+ step +'">',
917-
ul = tp_inst._defaults.timeFormat.indexOf('t') !== -1? 'toLowerCase':'toUpperCase',
918-
m = 0;
916+
var sel = '<select class="ui-timepicker-select" data-unit="'+ unit +'" data-min="'+ min +'" data-max="'+ max +'" data-step="'+ step +'">';
919917

920918
for(var i=min; i<=max; i+=step){
921919
sel += '<option value="'+ i +'"'+ (i==val? ' selected':'') +'>';

0 commit comments

Comments
 (0)