Skip to content

Commit

Permalink
Fixed #19
Browse files Browse the repository at this point in the history
  • Loading branch information
stefangabos committed Sep 28, 2023
1 parent 461c288 commit ee5a421
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions dist/zebra_datepicker.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -1201,10 +1201,6 @@
paddingLeft: marginLeft
});

// if parent element has its "display" property set to "block"
// the wrapper has to have its "width" set
if ($element.css('display') === 'block') icon_wrapper.css('width', $element.outerWidth(true));

// put wrapper around the element
// also, reset the target element's positioning properties
$element.wrap(icon_wrapper).css({
Expand Down
4 changes: 0 additions & 4 deletions src/zebra_datepicker.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -1201,10 +1201,6 @@
paddingLeft: marginLeft
});

// if parent element has its "display" property set to "block"
// the wrapper has to have its "width" set
if ($element.css('display') === 'block') icon_wrapper.css('width', $element.outerWidth(true));

// put wrapper around the element
// also, reset the target element's positioning properties
$element.wrap(icon_wrapper).css({
Expand Down

0 comments on commit ee5a421

Please sign in to comment.