mirror of https://github.com/rancher/ui.git
Merge pull request #3942 from codyrancher/jq
Fixing a jquery usage error
This commit is contained in:
commit
d0d790681a
|
|
@ -20,7 +20,7 @@ export default Select.extend({
|
|||
return;
|
||||
}
|
||||
|
||||
const toBottom = $('body').height() - $($()[0]).offset().top - 60; // eslint-disable-line
|
||||
const toBottom = $('body').height() - $(this.element).offset().top - 60; // eslint-disable-line
|
||||
|
||||
set(this, 'maxHeight', toBottom < MAX_HEIGHT ? toBottom : MAX_HEIGHT)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue