From 086fe8c7739e885e1b7a8eb60d5ca74ed4946b2d Mon Sep 17 00:00:00 2001 From: Cashew Date: Fri, 22 Dec 2023 08:42:26 +0900 Subject: [PATCH] remove unnecessary typecast --- ext/js/pages/settings/profile-conditions-ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/js/pages/settings/profile-conditions-ui.js b/ext/js/pages/settings/profile-conditions-ui.js index dac3ba19e9..29e7460f13 100644 --- a/ext/js/pages/settings/profile-conditions-ui.js +++ b/ext/js/pages/settings/profile-conditions-ui.js @@ -459,7 +459,7 @@ class ProfileConditionGroupUI { /** @type {HTMLElement} */ this._node = /** @type {HTMLElement} */ (this._parent.instantiateTemplate('profile-condition-group')); /** @type {HTMLElement} */ - this._conditionContainer = /** @type {HTMLElement} */ querySelectorNotNull(this._node, '.profile-condition-list'); + this._conditionContainer = querySelectorNotNull(this._node, '.profile-condition-list'); /** @type {HTMLElement} */ this._addConditionButton = querySelectorNotNull(this._node, '.profile-condition-add-button'); /** @type {ProfileConditionUI[]} */ @@ -626,7 +626,7 @@ class ProfileConditionUI { /** @type {HTMLElement} */ this._mouseButtonContainer = querySelectorNotNull(this._node, '.mouse-button-container'); /** @type {HTMLButtonElement} */ - this._menuButton = /** @type {HTMLButtonElement} */ querySelectorNotNull(this._node, '.profile-condition-menu-button'); + this._menuButton = querySelectorNotNull(this._node, '.profile-condition-menu-button'); /** @type {HTMLElement} */ this._typeOptionContainer = querySelectorNotNull(this._typeInput, 'optgroup'); /** @type {HTMLElement} */