Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0e7b602

Browse files
author
minjk-bl
committed
Focus on first input on opening inner popup
1 parentafe34ec commit0e7b602

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎js/com/component/PopupComponent.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,9 @@ define([
835835
openInnerPopup(title){
836836
$(this.wrapSelector('.vp-inner-popup-title')).text(title);
837837
$(this.wrapSelector('.vp-inner-popup-box')).show();
838+
839+
// focus on first input
840+
$(this.wrapSelector('.vp-inner-popup-box input[type=text]:not(:disabled):visible:first')).focus();
838841
}
839842

840843
/**

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp