Skip to content

Commit af1767d

Browse files
committed
Issue 151. fixed dateinput positioning bug
1 parent 3bf32e1 commit af1767d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/dateinput/dateinput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@
429429
self.setValue(value);
430430

431431
// show calendar
432-
var pos = input.position();
432+
var pos = input.offset();
433433

434434
root.css({
435435
top: pos.top + input.outerHeight({margins: true}) + conf.offset[0],

src/validator/validator.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,6 @@
241241

242242
v.fn("[required]", "Please complete this mandatory field.", function(el, v) {
243243
if (el.is(":checkbox")) { return el.is(":checked"); }
244-
245-
console.info(el, v);
246244
return !!v;
247245
});
248246

0 commit comments

Comments
 (0)