Removed: KnockoutJS 'hasFocus:' because HTML5 has autofocus=""

Knoin.js now searches for [autofocus] and handles it
This commit is contained in:
djmaze 2020-08-22 01:03:03 +02:00
parent 226f77e392
commit 996723a486
18 changed files with 60 additions and 113 deletions

View file

@ -14,13 +14,10 @@ class WelcomePagePopupView extends AbstractViewNext {
super();
this.welcomePageURL = ko.observable('');
this.closeFocused = ko.observable(false);
}
clearPopup() {
this.welcomePageURL('');
this.closeFocused(false);
}
/**
@ -33,10 +30,6 @@ class WelcomePagePopupView extends AbstractViewNext {
this.welcomePageURL(sUrl);
}
onShowWithDelay() {
this.closeFocused(true);
}
onHide() {
Promises.welcomeClose();
}