From e52e7cb3c0a538460650b38197ef8e16b4b550fb Mon Sep 17 00:00:00 2001 From: Valeriy Date: Tue, 14 Jan 2014 09:40:30 +0600 Subject: [PATCH] Fix button style for lower ie8 --- bower.json | 2 +- datetimepicker.jquery.json | 2 +- index.html | 2 +- jquery.datetimepicker.css | 14 ++++++++++++++ jquery.datetimepicker.js | 2 +- 5 files changed, 18 insertions(+), 4 deletions(-) diff --git a/bower.json b/bower.json index ccec6c1..6d218d8 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name":"datetimepicker", - "version":"2.1.6", + "version":"2.1.7", "main": [ "jquery.datetimepicker.js", "jquery.datetimepicker.css" diff --git a/datetimepicker.jquery.json b/datetimepicker.jquery.json index 0ba14ae..ee43e51 100644 --- a/datetimepicker.jquery.json +++ b/datetimepicker.jquery.json @@ -1,6 +1,6 @@ { "name": "datetimepicker", - "version": "2.1.6", + "version": "2.1.7", "title": "jQuery Date and Time picker", "description": "jQuery plugin for date, time, or datetime manipulation in form", "keywords": [ diff --git a/index.html b/index.html index 582bfd0..b288f18 100644 --- a/index.html +++ b/index.html @@ -44,7 +44,7 @@ $('#datetimepicker10').datetimepicker({ inline:true }); $('#datetimepicker_mask').datetimepicker({ - mask:'9999/19/39 29:59', + mask:'9999/19/39 29:59' }); $('#datetimepicker').datetimepicker(); $('#datetimepicker').datetimepicker({value:'2015/04/15 05:03',step:10}); diff --git a/jquery.datetimepicker.css b/jquery.datetimepicker.css index 3b8b6ae..eb1e084 100644 --- a/jquery.datetimepicker.css +++ b/jquery.datetimepicker.css @@ -18,6 +18,20 @@ display:none; } +.xdsoft_datetimepicker iframe { + position: absolute; + left: 0; + top: 0; + width: 75px; + height: 210px; + background: transparent; + border:none; +} +/*For IE8 or lower*/ +.xdsoft_datetimepicker button { + border:none !important; +} + .xdsoft_noselect{ -webkit-touch-callout: none; -webkit-user-select: none; diff --git a/jquery.datetimepicker.js b/jquery.datetimepicker.js index 19bb72e..d6cfaa4 100644 --- a/jquery.datetimepicker.js +++ b/jquery.datetimepicker.js @@ -1,5 +1,5 @@ /** - * @preserve jQuery DateTimePicker plugin v2.1.6 + * @preserve jQuery DateTimePicker plugin v2.1.7 * @homepage http://xdsoft.net/jqplugins/datetimepicker/ * (c) 2014, Chupurnov Valeriy. */