Skip to content

Commit e11cfce

Browse files
committed
Datepicker: Remove unused _getBorders() method.
1 parent cb42ba6 commit e11cfce

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

ui/jquery.ui.datepicker.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -823,18 +823,6 @@ $.extend(Datepicker.prototype, {
823823
}
824824
},
825825

826-
/* Retrieve the size of left and top borders for an element.
827-
* @param elem (jQuery object) the element of interest
828-
* @return (number[2]) the left and top borders
829-
*/
830-
_getBorders: function(elem) {
831-
var convert = function(value) {
832-
return {thin: 1, medium: 2, thick: 3}[value] || value;
833-
};
834-
return [parseFloat(convert(elem.css("border-left-width"))),
835-
parseFloat(convert(elem.css("border-top-width")))];
836-
},
837-
838826
/* Check positioning to remain on screen. */
839827
_checkOffset: function(inst, offset, isFixed) {
840828
var dpWidth = inst.dpDiv.outerWidth(),

0 commit comments

Comments
 (0)