From: Tim Düsterhus Date: Thu, 22 Jul 2021 13:15:58 +0000 (+0200) Subject: Fix TypeScript code style X-Git-Tag: 5.4.2~16 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e72c5a122f91cc572b4be7b6c777635c21d72a1;p=GitHub%2FWoltLab%2FWCF.git Fix TypeScript code style see 2ec1474e944428806ee4dd18ed161dec9eaa8308 --- diff --git a/ts/WoltLabSuite/Core/Ui/Page/Menu/Abstract.ts b/ts/WoltLabSuite/Core/Ui/Page/Menu/Abstract.ts index b5e8f8e84d..8721682331 100644 --- a/ts/WoltLabSuite/Core/Ui/Page/Menu/Abstract.ts +++ b/ts/WoltLabSuite/Core/Ui/Page/Menu/Abstract.ts @@ -404,7 +404,7 @@ abstract class UiPageMenuAbstract { return; } - const isLink = item.getAttribute('href') !== "#"; + const isLink = item.getAttribute("href") !== "#"; const parentItemList = parent.parentElement as HTMLOListElement; let itemTitle = itemList.dataset.title; diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Menu/Abstract.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Menu/Abstract.js index a395baad98..498f46ffda 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Menu/Abstract.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Menu/Abstract.js @@ -322,7 +322,7 @@ define(["require", "exports", "tslib", "../../../Core", "../../../Environment", } return; } - const isLink = item.getAttribute('href') !== "#"; + const isLink = item.getAttribute("href") !== "#"; const parentItemList = parent.parentElement; let itemTitle = itemList.dataset.title; this.items.set(item, {