Skip to content

Commit

Permalink
wrap comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang committed Mar 14, 2023
1 parent 1528559 commit 1fce62b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web_src/js/features/common-global.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ export function initGlobalCommon() {
// do not init "custom" dropdowns, "custom" dropdowns are managed by their own code.
$uiDropdowns.filter(':not(.custom)').dropdown({fullTextSearch: 'exact'});

// The "jump" means this dropdown is mainly used for "menu" purpose, clicking an item will jump to somewhere else
// or trigger an action/function. When a dropdown is used for non-refresh actions with tippy,
// The "jump" means this dropdown is mainly used for "menu" purpose,
// clicking an item will jump to somewhere else or trigger an action/function.
// When a dropdown is used for non-refresh actions with tippy,
// it must have this "jump" class to hide the tippy when dropdown is closed.
$uiDropdowns.filter('.jump').dropdown({
action: 'hide',
Expand Down

0 comments on commit 1fce62b

Please sign in to comment.