Merge pull request #6 from Tobyee/master

修复两个问题
pull/13/head
贤心 2014-10-31 17:38:48 +08:00
commit d75885f420
2 changed files with 4 additions and 4 deletions

View File

@ -747,8 +747,8 @@ Dates.events = function(){
//今天
as.otoday = S('#laydate_today');
Dates.on(as.otoday, 'click', function(){
Dates.elem[as.elemv] = laydate.now(0, Dates.options.format);
Dates.close();
var now = new Date();
Dates.creation([now.getFullYear(), now.getMonth() + 1, now.getDate()]);
});
//确认
@ -859,4 +859,4 @@ laydate.skin = function(lib){
Dates.skinLink.href = Dates.getPath + as[4] + lib + as[5];
};
}(window);
}(window);

View File

@ -7,7 +7,7 @@
**/
html{_background-image:url(about:blank); _background-attachment:fixed;}
.laydate_body .laydate_box, .laydate_body .laydate_box *{margin:0; padding:0;}
.laydate_body .laydate_box, .laydate_body .laydate_box *{margin:0; padding:0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box;}
.laydate-icon,
.laydate-icon-default,
.laydate-icon-danlan,