Fix colorPicker's lints (#4109) [ci skip]
This commit is contained in:
parent
aa9f03740e
commit
427a8dd45e
2 changed files with 53 additions and 43 deletions
File diff suppressed because one or more lines are too long
|
|
@ -84,8 +84,8 @@ function loadFunctionality() {
|
|||
subscriptionButtons[i].addEventListener('click', e => {
|
||||
e.preventDefault();
|
||||
updateStatus(e.target);
|
||||
if (typeof sendHapticMessage !== 'undefined') {
|
||||
sendHapticMessage('medium');
|
||||
if (typeof window.sendHapticMessage !== 'undefined') {
|
||||
window.sendHapticMessage('medium');
|
||||
}
|
||||
});
|
||||
subscriptionButtons[i].addEventListener('keydown', e => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue