Skip to content

Commit

Permalink
refactor(lookup): Remove extra class
Browse files Browse the repository at this point in the history
  • Loading branch information
marker dao ® committed Oct 9, 2024
1 parent c8f7061 commit dfbacbd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2202,8 +2202,9 @@ QUnit.module('popup options', {

openPopupWithList(instance);

const $overlay = $(`.${OVERLAY_CLASS}.${POPUP_CLASS}`);
const popup = usePopover ? PopoverFull.getInstance($overlay) : PopupFull.getInstance($overlay);
const $popup = $(`.${POPUP_CLASS}`);
const popup = usePopover ? PopoverFull.getInstance($popup) : PopupFull.getInstance($popup);

const { _loopFocus } = popup.option();

assert.strictEqual(_loopFocus, !usePopover, '_loopFocus is correct');
Expand Down

0 comments on commit dfbacbd

Please sign in to comment.