Skip to content

Commit

Permalink
Merge branch 'release-1.19.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy Synyaiev committed May 6, 2022
2 parents a731b07 + ed87680 commit 8b0c287
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oat-sa/tao-core-sdk",
"version": "1.19.0",
"version": "1.19.1",
"displayName": "TAO Core SDK",
"description": "Core libraries of TAO",
"homepage": "https://github.com/oat-sa/tao-core-sdk-fe#readme",
Expand Down
9 changes: 9 additions & 0 deletions src/util/adaptSize.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,15 @@ var adaptSize = (function() {
*/
both: function($elements, minWidth, minHeight) {
_resize($elements, { height: minHeight, width: minWidth });
},

/**
* Set height to auto on a set of elements
*
* @param {jQueryElements} $elements
*/
resetHeight: function($elements) {
$elements.height('auto');
}
};
})();
Expand Down

0 comments on commit 8b0c287

Please sign in to comment.