Skip to content

Commit c00391b

Browse files
committed
Delete all comment and clear css
1 parent f6182cf commit c00391b

File tree

4 files changed

+10
-18
lines changed

4 files changed

+10
-18
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"datetimepicker",
3-
"version":"2.3.5",
3+
"version":"2.3.6",
44
"main": [
55
"jquery.datetimepicker.js",
66
"jquery.datetimepicker.css"

datetimepicker.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "datetimepicker",
3-
"version": "2.3.5",
3+
"version": "2.3.6",
44
"title": "jQuery Date and Time picker",
55
"description": "jQuery plugin for date, time, or datetime manipulation in form",
66
"keywords": [

jquery.datetimepicker.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@
113113
float: right;
114114
background-position:0px 0px;
115115
}
116-
.xdsoft_datetimepicker .xdsoft_next:active,.xdsoft_datetimepicker .xdsoft_prev:active{
117-
}
116+
118117
.xdsoft_datetimepicker .xdsoft_next,
119118
.xdsoft_datetimepicker .xdsoft_prev ,
120119
.xdsoft_datetimepicker .xdsoft_today_button{

jquery.datetimepicker.js

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @preserve jQuery DateTimePicker plugin v2.3.5
2+
* @preserve jQuery DateTimePicker plugin v2.3.6
33
* @homepage http://xdsoft.net/jqplugins/datetimepicker/
44
* (c) 2014, Chupurnov Valeriy.
55
*/
@@ -288,8 +288,8 @@
288288
timeHeightInTimePicker:25,
289289
timepickerScrollbar:true,
290290

291-
todayButton:true, // 2.1.0
292-
defaultSelect:true, // 2.1.0
291+
todayButton:true,
292+
defaultSelect:true,
293293

294294
scrollMonth:true,
295295
scrollTime:true,
@@ -495,8 +495,7 @@
495495
scroller = $('<div class="xdsoft_scroller"></div>'),
496496
monthselect =$('<div class="xdsoft_select xdsoft_monthselect"><div></div></div>'),
497497
yearselect =$('<div class="xdsoft_select xdsoft_yearselect"><div></div></div>');
498-
499-
//constructor lego
498+
500499
mounth_picker
501500
.find('.xdsoft_month span')
502501
.after(monthselect);
@@ -558,8 +557,6 @@
558557
}
559558
});
560559

561-
562-
// set options
563560
datetimepicker.setOptions = function( _options ) {
564561
options = $.extend(true,{},options,_options);
565562

@@ -839,7 +836,6 @@
839836

840837
_this.currentTime.setDate(
841838
Math.min(
842-
// Day 0 is the last day in the previous month, but we want to know the number of days in the current month, so we need to evaluate the subsequent month (month+1)
843839
new Date(_this.currentTime.getFullYear(), month+1, 0).getDate(),
844840
_this.currentTime.getDate()
845841
)
@@ -863,7 +859,6 @@
863859
}
864860
_this.currentTime.setDate(
865861
Math.min(
866-
// Day 0 is the last day in the previous month, but we want to know the number of days in the current month, so we need to evaluate the subsequent month (month+1)
867862
new Date(_this.currentTime.getFullYear(), month+1, 0).getDate(),
868863
_this.currentTime.getDate()
869864
)
@@ -1003,14 +998,12 @@
1003998
while( start.getDay()!=options.dayOfWeekStart )
1004999
start.setDate(start.getDate()-1);
10051000

1006-
//generate calendar
10071001
table+='<table><thead><tr>';
10081002

10091003
if(options.weeks) {
10101004
table+='<th></th>';
10111005
}
10121006

1013-
// days
10141007
for(var j = 0; j<7; j++) {
10151008
table+='<th>'+options.i18n[options.lang].dayOfWeek[(j+options.dayOfWeekStart)%7]+'</th>';
10161009
}
@@ -1228,7 +1221,7 @@
12281221

12291222
timebox
12301223
.on('click.xdsoft', 'div', function (xdevent) {
1231-
xdevent.stopPropagation(); // NAJ: Prevents closing of Pop-ups, Modals and Flyouts
1224+
xdevent.stopPropagation();
12321225
var $this = $(this),
12331226
currentTime = _xdsoft_datetime.currentTime;
12341227

@@ -1303,7 +1296,7 @@
13031296
}
13041297
})
13051298
.on( 'click.xdsoft', function( xdevent ) {
1306-
xdevent.stopPropagation(); // Prevents closing of Pop-ups, Modals and Flyouts in Bootstrap
1299+
xdevent.stopPropagation();
13071300
});
13081301

13091302
var current_time_index = 0;
@@ -1416,7 +1409,7 @@
14161409

14171410
return ct?ct:0;
14181411
}
1419-
//debugger
1412+
14201413
_xdsoft_datetime.setCurrentTime( getCurrentValue() );
14211414

14221415
input

0 commit comments

Comments
 (0)