forked from 0x2620/oxjs
fix a corner case in Ox.formatDateRangeDuration()
This commit is contained in:
parent
46ef208be2
commit
ccece375c0
4 changed files with 28 additions and 12 deletions
|
|
@ -46,9 +46,6 @@ Ox.Calendar = function(options, self) {
|
|||
//height: self.options.height + 'px'
|
||||
})
|
||||
.bindEvent({
|
||||
anyclick: function(e) {
|
||||
!$(e.target).is('.OxInput') && that.gainFocus();
|
||||
},
|
||||
key_0: function() {
|
||||
panToSelected();
|
||||
},
|
||||
|
|
@ -81,6 +78,9 @@ Ox.Calendar = function(options, self) {
|
|||
},
|
||||
key_up: function() {
|
||||
scrollBy(-1);
|
||||
},
|
||||
mousedown: function(e) {
|
||||
!$(e.target).is('.OxInput') && that.gainFocus();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue