From cd7a37bc63a11bcebf1b17943763509b1ea1d6e0 Mon Sep 17 00:00:00 2001 From: Valeriy Date: Tue, 26 Nov 2013 17:17:57 +0600 Subject: [PATCH] On destroy add destroy focus event --- jquery.datetimepicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.datetimepicker.js b/jquery.datetimepicker.js index ba6b1ca..76a5b82 100644 --- a/jquery.datetimepicker.js +++ b/jquery.datetimepicker.js @@ -511,7 +511,7 @@ datetimepicker.remove(); delete datetimepicker; input.data( 'xdsoft_datetimepicker',null ); - input.off( 'enter.xdsoft keyup.xdsoft mousedown.xdsoft open.xdsoft' ); + input.off( 'enter.xdsoft keyup.xdsoft mousedown.xdsoft open.xdsoft focus.xdsoft' ); $(window).off('resize.xdsoft'); $(window).off('mousedown.xdsoft keydown.xdsoft'); input.unmousewheel&&input.unmousewheel();