mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Add focus on add to other list button click
This commit is contained in:
@@ -1004,6 +1004,7 @@ function addDynamicListeners() {
|
|||||||
addListener("click", "#addToOtherList", function(event) {
|
addListener("click", "#addToOtherList", function(event) {
|
||||||
this.preventDefault();
|
this.preventDefault();
|
||||||
Helper.toggleClass("#addToListInput", "hide");
|
Helper.toggleClass("#addToListInput", "hide");
|
||||||
|
document.getElementById("other-list-name-add").focus();
|
||||||
});
|
});
|
||||||
|
|
||||||
addListener("submit", "#addToOtherListForm", function(event) {
|
addListener("submit", "#addToOtherListForm", function(event) {
|
||||||
|
|||||||
Reference in New Issue
Block a user