You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

functions.web.js 273B

1234567891011121314
  1. // @flow
  2. export * from './functions.any';
  3. /**
  4. * Whether or not there are always on labels.
  5. *
  6. * @returns {boolean}
  7. */
  8. export function isAlwaysOnTitleBarEmpty() {
  9. const bar = document.querySelector('#alwaysVisible>div');
  10. return bar?.childNodes.length === 0;
  11. }