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

Commitfdcf741

Browse files
committed
bug#54838 [WebProfilerBundle] Fix assignment to constant variable (HypeMC)
This PR was merged into the 6.4 branch.Discussion----------[WebProfilerBundle] Fix assignment to constant variable| Q | A| ------------- | ---| Branch? | 6.4| Bug fix? | yes| New feature? | no| Deprecations? | no| Issues | -| License | MITThe current js code can trigger an error if it reaches line 83, e.g. if you click on a badge in the tab:![image](https://github.com/symfony/symfony/assets/2445045/6ae44233-a746-43cb-a6a2-d14eda765683)![image](https://github.com/symfony/symfony/assets/2445045/274a35db-3825-4971-9e53-badb96d83de7)Commits-------88a8d21 [WebProfilerBundle] Fix assignment to constant variable
2 parents68ffeba +88a8d21 commitfdcf741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
}
7676
7777
tab.addEventListener('click',function(e) {
78-
constactiveTab=e.target||e.srcElement;
78+
let activeTab=e.target||e.srcElement;
7979
8080
/* needed because when the tab contains HTML contents, user can click*/
8181
/* on any of those elements instead of their parent '<button>' element*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp