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

Commit745041f

Browse files
Update assets/js/tabs.js based on suggested change
Using const for objectsCo-authored-by: Niels Bauman <33722607+nielsbauman@users.noreply.github.com>
1 parentef898d2 commit745041f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎assets/js/tabs.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ window.addEventListener('load', function () {
2626
link.addEventListener('click',function(event){
2727
event.preventDefault();
2828

29-
liTab=link.parentNode;
30-
ulTab=liTab.parentNode;
31-
position=getChildPosition(liTab);
29+
constliTab=link.parentNode;
30+
constulTab=liTab.parentNode;
31+
constposition=getChildPosition(liTab);
3232
if(liTab.className.includes('active')){
3333
return;
3434
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp