Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Sep 20, 2021
1 parent ebbfa34 commit 4ec0c7b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/tooltip/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,6 @@ function isOutOfBounds(el) {
return (targetLeft + width > viewport.width) || (targetLeft < 0) || (targetTop < 0) || (targetTop + height > viewport.height);
}

function getTarget(el) {
return DomHandler.hasClass(el, 'p-inputwrapper') ? DomHandler.findSingle(el, 'input'): el;
}

function getModifiers(options) {
// modifiers
if (options.modifiers && Object.keys(options.modifiers).length) {
Expand Down

0 comments on commit 4ec0c7b

Please sign in to comment.