File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 655
655
if ( dir ) {
656
656
this . viewMode = Math . max ( 0 , Math . min ( 2 , this . viewMode + dir ) ) ;
657
657
}
658
- this . picker . find ( '>div' ) . hide ( ) . filter ( '.datepicker-' + DPGlobal . modes [ this . viewMode ] . clsName ) . show ( ) ;
658
+ /*
659
+ vitalets: fixing bug of very special conditions:
660
+ jquery 1.7.1 + webkit + show inline datepicker in bootstrap popover.
661
+ Method show() does not set display css correctly and datepicker is not shown.
662
+ Changed to .css('display', 'block') solve the problem.
663
+ See https://github.com/vitalets/x-editable/issues/37
664
+
665
+ In jquery 1.7.2+ everything works fine.
666
+ */
667
+ //this.picker.find('>div').hide().filter('.datepicker-'+DPGlobal.modes[this.viewMode].clsName).show();
668
+ this . picker . find ( '>div' ) . hide ( ) . filter ( '.datepicker-' + DPGlobal . modes [ this . viewMode ] . clsName ) . css ( 'display' , 'block' ) ;
659
669
this . updateNavArrows ( ) ;
660
670
}
661
671
} ;
You can’t perform that action at this time.
0 commit comments